rbbt-study 0.2.14 → 0.2.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Njk5Mjc3YjI3NDY0ZTVkNTVmNDJlZjgzN2I2ZDY0OGI4YTU4NWVlMg==
4
+ ZGY5MzgxZjY2ZDhmYWFlOGQ1N2E3MzI0N2EwY2ZhNTJkODk3OTUzNQ==
5
5
  data.tar.gz: !binary |-
6
- MjE3YTg0YjcxYTY1M2Q5NDBkNzJjYTVlMjdiNDY1NTUxZmI0ODEwYw==
6
+ MDJlODFiODE0ZDM1NzcxYzIyZDU5YzhlZGQ5ZjdlZGQ5YmIxYzVhOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGQzYmY2MzgwY2M1MGM3MzIyZWQxZjA2MWM1Mjc0YmE1OWM1ZGIxZGI4Y2M5
10
- MjIxZDhlNGViODc1YWI1MGFiYTliNDYxYmU1NGEzZTc2Y2E2YjUwZWQ2ZGUz
11
- MjNjYTdkOTFiMjhkZjI0ZjcyOTMzNDhjODY0ODc0NGNjYzU5ZDA=
9
+ ODY5Zjk0NThjNjZmNTMxYmUzOTNhODRmZDQ0OTdiYTk3OWJiZGY3ZjA4MjY0
10
+ NzNiZWU3ZTllZDNlMDczMzczNzk1NTZlZWVhNTQ2ZGNmY2NkNzM0NjQ0Y2I5
11
+ MTVmNGJhYjE0ZThkMjE0MzVmMGJkOThhOGVhNGJlODdjYWE5MzM=
12
12
  data.tar.gz: !binary |-
13
- N2E3ODJiYWQwOWVmM2ZkYmY1ZTgyNTExYzYxZmE3NjUxYmViNGVjNWM3YzJk
14
- M2MxMGU5ZjU4Y2I0MzNjNjg3ZjY3ZGVlZTk3YjBjZDI3ODA5MDNiODZiMzAw
15
- YjAyNDA2ODliYTcxMTQzMzFjZmIxODMwNjUyNzNjNTFkZTU5ZmM=
13
+ OWU0NDZlOWYzOTM5NzVjODg4YjVmZmJjYWY2NTY1YjNmOTkzYjQwNDcxYmM4
14
+ YWM2ZWNhZDhjZmI0MjE5ZjJhMWQxNmQ4N2RiYjNkZTNiYTdlNjhhODMwM2Jk
15
+ OGE4NjZhOGRlZjUzMTFhYWJhYjE0MGFhMTg2MjQyYjllMGM5NzU=
@@ -27,10 +27,10 @@ module Study
27
27
  sample_mutations = study.knowledge_base.get_database(:sample_mutations, :source => "Sample")
28
28
  all_mutations = study.all_mutations
29
29
  mutations2mutated_isoforms = Misc.process_to_hash(all_mutations){|mutations| mutations.any? ? mutations.mutated_isoforms : [] }
30
- mutations2exon_junction = Misc.process_to_hash(all_mutations){|mutations| mutations.in_exon_junction? }
31
- mi2damaged = Misc.process_to_hash(MutatedIsoform.setup(mutations2mutated_isoforms.values.flatten.compact.uniq, study.organism)){|mis| mis.damaged? }
30
+ mutations2exon_junction = Misc.process_to_hash(all_mutations){|mutations| mutations.any? ? mutations.in_exon_junction? : [] }
31
+ mi2damaged = Misc.process_to_hash(MutatedIsoform.setup(mutations2mutated_isoforms.values.flatten.compact.uniq, study.organism)){|mis| mis.any? ? mis.damaged? : [] }
32
32
  #mi2damaged = Misc.process_to_hash(MutatedIsoform.setup(mutations2mutated_isoforms.values.flatten.compact.uniq, study.organism)){|mis| [false] * mis.length }
33
- mi2consequence = Misc.process_to_hash(MutatedIsoform.setup(mutations2mutated_isoforms.values.flatten.compact.uniq, study.organism)){|mis| mis.consequence }
33
+ mi2consequence = Misc.process_to_hash(MutatedIsoform.setup(mutations2mutated_isoforms.values.flatten.compact.uniq, study.organism)){|mis| mis.any? ? mis.consequence : [] }
34
34
 
35
35
  gene_mutations = study.knowledge_base.get_database(:mutation_genes, :source => "Ensembl Gene ID")
36
36
  gene_mutations.unnamed = true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-study
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-20 00:00:00.000000000 Z
11
+ date: 2013-11-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem add the study entity with suport for NGS, Microarray and other
14
14
  types of data