full_lengther_next 0.9.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/download_fln_dbs.rb +5 -5
- data/lib/full_lengther_next/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7800e4b0a50889d7b627ea4a01dc87629e30338e
|
4
|
+
data.tar.gz: 1dc9f576f8ebbc28e0e53ed822183ca40db94b6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0898c6a4e46d5ac7d35baf1484e6aa45420f5b77412b3070a46fceded8803a49fc39b92a2dec94135a0dfa7d2060d34b3ea44da768a41849c9bd8734b3f3f1a
|
7
|
+
data.tar.gz: 0b11a85a7e6fb17647cffadbfbc0b6e8d9ba4105adb4edb624663dda47a13d983efa2932aa73abc08e024511b643d44b1e7bf38913cedca2778825f76e69ae84
|
data/bin/download_fln_dbs.rb
CHANGED
@@ -79,7 +79,7 @@ def compare_list(string, list)
|
|
79
79
|
return res
|
80
80
|
end
|
81
81
|
|
82
|
-
def conecta_uniprot(my_array, formatted_db_path)
|
82
|
+
def conecta_uniprot(my_array, formatted_db_path, no_trembl)
|
83
83
|
|
84
84
|
Dir.mkdir(formatted_db_path) if !File.exists?(formatted_db_path)
|
85
85
|
varsplic_out=File.join(formatted_db_path,'uniprot_sprot_varsplic.fasta.gz')
|
@@ -91,7 +91,7 @@ def conecta_uniprot(my_array, formatted_db_path)
|
|
91
91
|
puts "connected to UniProt"
|
92
92
|
my_array.each do |db_group|
|
93
93
|
puts "Downloading #{db_group}"
|
94
|
-
download_uniprot(db_group, formatted_db_path)
|
94
|
+
download_uniprot(db_group, formatted_db_path, no_trembl)
|
95
95
|
end
|
96
96
|
|
97
97
|
#archivo de variantes de splicing. POR QUE?
|
@@ -102,13 +102,13 @@ def conecta_uniprot(my_array, formatted_db_path)
|
|
102
102
|
puts "isoform files downloaded"
|
103
103
|
end
|
104
104
|
|
105
|
-
def download_uniprot(uniprot_group, formatted_db_path)
|
105
|
+
def download_uniprot(uniprot_group, formatted_db_path, no_trembl)
|
106
106
|
|
107
107
|
sp_out=File.join(formatted_db_path,"uniprot_sprot_#{uniprot_group}.dat.gz")
|
108
108
|
tr_out=File.join(formatted_db_path,"uniprot_trembl_#{uniprot_group}.dat.gz")
|
109
109
|
$ftp.chdir("/pub/databases/uniprot/current_release/knowledgebase/taxonomic_divisions")
|
110
110
|
$ftp.getbinaryfile("uniprot_sprot_#{uniprot_group}.dat.gz", sp_out)
|
111
|
-
$ftp.getbinaryfile("uniprot_trembl_#{uniprot_group}.dat.gz", tr_out)
|
111
|
+
$ftp.getbinaryfile("uniprot_trembl_#{uniprot_group}.dat.gz", tr_out) if !no_trembl
|
112
112
|
|
113
113
|
puts "#{uniprot_group} files downloaded"
|
114
114
|
|
@@ -375,7 +375,7 @@ puts "\nTo set the path for storing databases, execute next line in your termina
|
|
375
375
|
download_ncrna(formatted_db_path, options[:no_download]) if !options[:no_ncrna]
|
376
376
|
|
377
377
|
if !options[:no_download]
|
378
|
-
conecta_uniprot(options[:uniprot_div], formatted_db_path)
|
378
|
+
conecta_uniprot(options[:uniprot_div], formatted_db_path, options[:no_trembl])
|
379
379
|
end
|
380
380
|
|
381
381
|
if !options[:no_uniprot]
|