rbbt-sources 3.1.40 → 3.1.41

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
  SHA256:
3
- metadata.gz: 58f9941a36498e575420dbe3fd97c726269e168d4565fa0e587d002706c6f6d6
4
- data.tar.gz: 0c684724f4a5d9a4290c4e74f22f3d84dca18c31ec270eed8075649ea8cf6032
3
+ metadata.gz: e0a35626b221e15867cb54ca9e8bbeb007762b5a99afed75d57d6b473385c287
4
+ data.tar.gz: 59d067abbfdcd686f39b3604282a280ca9bf4a0e8f3284698202dae8d9d50d55
5
5
  SHA512:
6
- metadata.gz: e31b8a35bf7cc518cb825003ff6d521c4d94cca64f2adb4f8da7fb634bd9882e135875e1df8ed8d1cacb458e7f1dc9916c1d18281437569c37021ed18d6d38ec
7
- data.tar.gz: f942919c06a57079b74414829c0bfcc9c46be2cfc2c8213ed7293d20c00fedad1ec4cc94e4d9b581746f7c0e7430793562e81df5d6a18797aa87e099434a4c27
6
+ metadata.gz: 1c9c6a2dc5184319e94af671762227bba331b49784cf3e4ac0550b6c023c7b072920d75175b0547c2d8cb4034dbca53dda9514238773cf98f103cc6be978c4ec
7
+ data.tar.gz: df52691bf65b891a906217f5e2647577bc74940bbd3fa1752115f624a313472a70a43fb96b786e30a4612bc71badb7b3e68c539e0024fe0f0958ee5f33d910af
@@ -6,3 +6,4 @@ dec2014
6
6
  dec2015
7
7
  oct2016
8
8
  may2017
9
+ apr2019
@@ -1,3 +1,5 @@
1
+ ">dec2017":
2
+ - unigene
1
3
  ">dec2016":
2
4
  - uniprot_swissprot_accession~uniprotswissprot
3
5
  - uniprot_swissprot~uniprotswissprot
@@ -102,7 +102,6 @@ module Signor
102
102
  end
103
103
 
104
104
  Signor.claim Signor.phospho_sites, :proc do
105
- uni2name = UniProt.identifiers.Hsa.index :target => "Associated Gene Name", :fields => ["UniProt/SwissProt Accession"], :persist => true
106
105
 
107
106
  dumper = TSV::Dumper.new :key_field => "Phosphosite", :fields => ["Effect"], :type => :flat, :organism => Signor.organism
108
107
  dumper.init
@@ -119,10 +118,8 @@ module Signor
119
118
  else
120
119
  next
121
120
  end
122
- name = uni2name[target]
123
- next if name.nil?
124
121
  next if residue.nil? or residue.empty?
125
- site = [name, residue] * ":"
122
+ site = [target, residue] * ":"
126
123
  positive = effect.include? "up-regulates"
127
124
 
128
125
  activates = kinase && positive || (!kinase && !positive)
@@ -66,7 +66,7 @@ module UniProt
66
66
 
67
67
 
68
68
  UniProt.claim UniProt.annotated_variants, :proc do
69
- url = "http://www.uniprot.org/docs/humsavar.txt"
69
+ url = "https://www.uniprot.org/docs/humsavar.txt"
70
70
  tsv = TSV.open(CMD.cmd('tail -n +31 | head -n -4|grep "[[:alpha:]]"', :in => Open.open(url), :pipe => true),
71
71
  :fix => Proc.new{|line| parts = line.split(/\s+/); (parts[1..5] + [(parts[6..-1] || []) * " "]) * "\t"},
72
72
  :type => :double,
@@ -89,8 +89,8 @@ module UniProt
89
89
  tsv.to_s
90
90
  end
91
91
 
92
- UNIPROT_TEXT="http://www.uniprot.org/uniprot/[PROTEIN].txt"
93
- UNIPROT_FASTA="http://www.uniprot.org/uniprot/[PROTEIN].fasta"
92
+ UNIPROT_TEXT="https://www.uniprot.org/uniprot/[PROTEIN].txt"
93
+ UNIPROT_FASTA="https://www.uniprot.org/uniprot/[PROTEIN].fasta"
94
94
 
95
95
  def self.get_uniprot_entry(uniprotids)
96
96
  _array = Array === uniprotids
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.40
4
+ version: 3.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2019-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbbt-util
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.0.3
193
+ rubygems_version: 3.0.6
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: Data sources for the Ruby Bioinformatics Toolkit (rbbt)