rbbt-study 0.2.21 → 0.2.22
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 +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTgwODBhYjg4OGY4MGFjOGY4NzE1MDE1MDYwN2UxNzgzMzVhOGJjNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDFlNDA0YTkyYTM3ZjU4YjYzMWI5YjUxNjdmZWM1ZWQyOTg4OGIzOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTcwZjI1OWZjNGZmOTg0MzNiMDRmNjIyMDQzYWUyMzAxYTgxOGFkMDg0M2Ez
|
10
|
+
MzEyZTlmMjUyMDc2NzM2NTRkZTI2OGI4MmViNDRlYmNkMzcxYmM5ZGNlZmIy
|
11
|
+
NGRiODBiMzY4ZTAwNWZkN2VjYzBhOWU4OGI0NDI0NjA1ZThjZjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Mjk0Njc5MTNlNTAyMjRmOWE4MzRhYzU5YjFlYTc5MzM0Y2ZiZjExZjEwYzJl
|
14
|
+
NTBlZTU4ZGU5OTAxZmQwZmFiYTcyM2E2YWIzNzljYTQ5MGFmM2M4MDE5NjA5
|
15
|
+
YWE4NmQ0YzU2NWJiMzZmY2Y5NDY0NTM2ZmY0MmVjYTJiZTBlNzE=
|
@@ -13,6 +13,22 @@ module Study
|
|
13
13
|
tsv
|
14
14
|
}
|
15
15
|
|
16
|
+
self.study_registry[:mutation_affected_genes] = Proc.new{|study,database|
|
17
|
+
tsv = TSV.setup({}, :key_field => "Genomic Mutation", :fields => ["Ensembl Gene ID"], :type => :flat, :namespace => study.organism)
|
18
|
+
study.cohort.metagenotype.uniq.each do |mutation|
|
19
|
+
tsv[mutation] = mutation.affected_genes
|
20
|
+
end
|
21
|
+
tsv
|
22
|
+
}
|
23
|
+
|
24
|
+
self.study_registry[:mutation_damaged_genes] = Proc.new{|study,database|
|
25
|
+
tsv = TSV.setup({}, :key_field => "Genomic Mutation", :fields => ["Ensembl Gene ID"], :type => :flat, :namespace => study.organism)
|
26
|
+
study.cohort.metagenotype.uniq.each do |mutation|
|
27
|
+
tsv[mutation] = mutation.damaged_genes
|
28
|
+
end
|
29
|
+
tsv
|
30
|
+
}
|
31
|
+
|
16
32
|
self.study_registry[:sample_mutations] = Proc.new{|study,database|
|
17
33
|
tsv = TSV.setup({}, :key_field => "Sample", :fields => ["Genomic Mutation"], :type => :flat, :namespace => study.organism)
|
18
34
|
|
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.22
|
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-12-
|
11
|
+
date: 2013-12-17 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
|