rbbt-util 5.17.89 → 5.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etc/app.d/finder.rb +4 -0
- data/lib/rbbt/workflow/accessor.rb +3 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab39fdc1ea50f9747effe02d0c7008a288194a88
|
4
|
+
data.tar.gz: 4359eaf63e8c0592bb0d035099bd94e1e12fa3b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cccceae6eee4bbc8d64dcfc8e9791c7e7b00ee32bfec839ff3bb914b2511c29b1382acf626f641e1b38c022caabe347492ea3eb1315f5a5b06b01dbc3d2a312c
|
7
|
+
data.tar.gz: dc1dc72ef5f0f69f36d81b9b7bbfcb8f84c5259618aa9e466967a750e13192eeaed3a5d69589fbbbead6347d3df8306cb22e43c098de7414b5fb91f049dc5adb
|
data/etc/app.d/finder.rb
CHANGED
@@ -11,6 +11,10 @@ if ENV['RBBT_FINDER']
|
|
11
11
|
mi_hash = {"Mutated Isoform" => /ENSP\w+:.+/}
|
12
12
|
finder.add_instance(mi_hash, :namespace => organism)
|
13
13
|
|
14
|
+
prot_hash = {"Ensembl Protein ID" => /ENSP\w+$/}
|
15
|
+
finder.add_instance(prot_hash, :namespace => organism)
|
16
|
+
|
17
|
+
|
14
18
|
organism_hash = {"organism" => /[A-Z][a-z]{2}(?:\/[a-z]{3}20\d\d)?/}
|
15
19
|
finder.add_instance(organism_hash, :namespace => organism)
|
16
20
|
end
|
@@ -586,10 +586,9 @@ module Workflow
|
|
586
586
|
if inputs.any? or dependencies.any?
|
587
587
|
tagged_jobname = case TAG
|
588
588
|
when :hash
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
jobname + '_' << Misc.digest(input_str)
|
589
|
+
input_hash = Hash[*(1..inputs.length).zip(inputs).flatten]
|
590
|
+
hash_str = Misc.hash2md5(input_hash)
|
591
|
+
jobname + '_' << hash_str
|
593
592
|
else
|
594
593
|
jobname
|
595
594
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|