Sha256: 11f32900f206281c9a1c8d801b9b5b75cf5ab700717e9b8b0546625f18d7382d
Contents?: true
Size: 304 Bytes
Versions: 112
Compression:
Stored size: 304 Bytes
Contents
rule /(.+)/ do |t| require 'net/ftp' chromosome = File.basename(t.name) ftp = Genomes1000::URL ftp = Net::FTP.new(Genomes1000::FTP_SERVER) ftp.login ftp.chdir(Genomes1000::FTP_PATH) file = ftp.list("*.chr" + chromosome + ".*").collect{|l| l.split(" ").last}.last ddd file exit end
Version data entries
112 entries across 112 versions & 1 rubygems