rbbt-sources 3.1.7 → 3.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a2f9d5c13961a7fa8a3c948367f312ad15ae555
4
- data.tar.gz: e6ec67742de00219a229d9cc4db6bc4a6fff67fd
3
+ metadata.gz: c036392b978d10961a6834bbcb520f90f685dad5
4
+ data.tar.gz: 1c3104e16b49cf2445a7587fd4e47eb9add3ec54
5
5
  SHA512:
6
- metadata.gz: 0f06fd95e0e4ad122ebbd35bca6cd878de70ee2cc251e99296d055cdbefa055132daf0329f3f2491624e905ac7dad5fb63edada9a88da027639afe2dc8e4e307
7
- data.tar.gz: f85b6b37937b24c7a282a0d07c2e567e4db3bb816ef40a12d31f7eaf65bcbe3c1886cad923a73e6732394325161ff7750bf76dba8100aa5db3d91f0224498342
6
+ metadata.gz: 4f5d81a9595cb6f58856e51dbe908862105d268ee64af901aae7e56c0ac5d58bdd34a9780efcb57ca3fa2dcbff352b4e2f5ec62ef6bd662fb747beb726ff64e2
7
+ data.tar.gz: 005bb8687b44426316d3d758401da95e236b6abddb6d09362ef5706a8f5dc9fa53a4e5f5a2eed29cc7987ae16cba04ce88fe664d4b43a392e6c4cbf642c93c89
@@ -4,3 +4,4 @@ jan2013
4
4
  feb2014
5
5
  dec2013
6
6
  dec2014
7
+ dec2015
@@ -10,7 +10,7 @@ InterPro.claim InterPro.pfam_names, :proc do
10
10
  pfam_domains = Pfam.domains.read.split("\n").collect{|l| l.split("\t").first}.compact.flatten
11
11
  tsv = nil
12
12
  TmpFile.with_file(pfam_domains * "\n") do |tmpfile|
13
- tsv = TSV.open(CMD.cmd("cut -f 4,3 | sort -u |grep -w -f #{ tmpfile }", :in => InterPro.source.protein2ipr.open, :pipe => true), :key_field => 1, :fields => [0], :type => :single)
13
+ tsv = TSV.open(CMD.cmd("cut -f 4,3 | sort -u |grep -w -f #{ tmpfile }", :in => InterPro[".source"].protein2ipr.open, :pipe => true), :key_field => 1, :fields => [0], :type => :single)
14
14
  end
15
15
  tsv.key_field = "InterPro ID"
16
16
  tsv.fields = ["Domain Name"]
@@ -21,7 +21,7 @@ InterPro.claim InterPro.pfam_equivalences, :proc do
21
21
  pfam_domains = Pfam.domains.read.split("\n").collect{|l| l.split("\t").first}.compact.flatten
22
22
  tsv = nil
23
23
  TmpFile.with_file(pfam_domains * "\n") do |tmpfile|
24
- tsv = TSV.open(CMD.cmd("cut -f 2,4 | sort -u |grep -w -f #{ tmpfile }", :in => InterPro.source.protein2ipr.open, :pipe => true), :key_field => 0, :fields => [1], :type => :single)
24
+ tsv = TSV.open(CMD.cmd("cut -f 2,4 | sort -u |grep -w -f #{ tmpfile }", :in => InterPro[".source"].protein2ipr.open, :pipe => true), :key_field => 0, :fields => [1], :type => :single)
25
25
  end
26
26
  tsv.key_field = "InterPro ID"
27
27
  tsv.fields = ["Pfam Domain"]
@@ -34,7 +34,7 @@ module Pfam
34
34
  self.subdir = "share/databases/Pfam"
35
35
 
36
36
  Pfam.claim Pfam.domains, :proc do
37
- url = "ftp://ftp.sanger.ac.uk/pub/databases/Pfam/current_release/Pfam-A.clans.tsv.gz"
37
+ url = "ftp://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/Pfam-A.clans.tsv.gz"
38
38
  tsv = TSV.open(Open.open(url), :key_field => "Pfam Domain ID", :fields => ["Pfam Clan ID", "Code Name", "Name", "Description"])
39
39
  tsv.to_s
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-sources
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.7
4
+ version: 3.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbbt-util