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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56653aeb0297a9c75d251c516332e80d4c8dab3d
4
- data.tar.gz: c15ac190a4700594eee5d50e72ee0a28446f339a
3
+ metadata.gz: ab39fdc1ea50f9747effe02d0c7008a288194a88
4
+ data.tar.gz: 4359eaf63e8c0592bb0d035099bd94e1e12fa3b9
5
5
  SHA512:
6
- metadata.gz: 2e8f2f8eae1892499a33dba6d43c28cfa65065e6df074a3728e937bae108ba6e1929a12545022f02708a62b25bc6abd0f9fa576dd6cc8ad76770115a60e4ac4e
7
- data.tar.gz: 3727fb8076c8e6ac692d947d19abae675198c2795d508c652fcd7a34c1febe96a624c5b6697ba1b3eedaeefec119c17371c907cc79b6b4f1df5436e7abd6f067
6
+ metadata.gz: cccceae6eee4bbc8d64dcfc8e9791c7e7b00ee32bfec839ff3bb914b2511c29b1382acf626f641e1b38c022caabe347492ea3eb1315f5a5b06b01dbc3d2a312c
7
+ data.tar.gz: dc1dc72ef5f0f69f36d81b9b7bbfcb8f84c5259618aa9e466967a750e13192eeaed3a5d69589fbbbead6347d3df8306cb22e43c098de7414b5fb91f049dc5adb
@@ -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
- input_str = ""
590
- input_str << inputs.collect{|i| Misc.fingerprint(i) } * ","
591
- input_str << ";" << dependencies.collect{|dep| dep.name } * "\n"
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.17.89
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-20 00:00:00.000000000 Z
11
+ date: 2015-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake