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 +8 -8
- data/lib/rbbt/entity/study/genotypes/knowledge_base.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGY5MzgxZjY2ZDhmYWFlOGQ1N2E3MzI0N2EwY2ZhNTJkODk3OTUzNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDJlODFiODE0ZDM1NzcxYzIyZDU5YzhlZGQ5ZjdlZGQ5YmIxYzVhOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODY5Zjk0NThjNjZmNTMxYmUzOTNhODRmZDQ0OTdiYTk3OWJiZGY3ZjA4MjY0
|
10
|
+
NzNiZWU3ZTllZDNlMDczMzczNzk1NTZlZWVhNTQ2ZGNmY2NkNzM0NjQ0Y2I5
|
11
|
+
MTVmNGJhYjE0ZThkMjE0MzVmMGJkOThhOGVhNGJlODdjYWE5MzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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.
|
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-
|
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
|