rbbt-study 0.2.27 → 0.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rbbt/entity/study/genotypes/genes.rb +1 -1
- data/lib/rbbt/entity/study.rb +1 -2
- 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: 94ed5774fb52f6ce952c6796655220ec9dc00508
|
|
4
|
+
data.tar.gz: f804769048c718f3f47a5d2ee0a5b06d557b9d3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f6b416ff8c76b609fea12b176d484d4e6f5ac515ffa8d33ebe184acde99a21731ffda840438127d607b9ac6908a79e0a6b0558336d82696b6a50358235d2d10
|
|
7
|
+
data.tar.gz: 1128df2a2fed39770545c089bf702ee730c681b9ed5c0ca5a5d036df573d7c53afa3db0ed8342b26f3ea0d30371af566c24a4044c77ad3c5615be992cb43110b
|
|
@@ -66,7 +66,7 @@ module Study
|
|
|
66
66
|
next unless relevant_mutations.include? mutation
|
|
67
67
|
genes = []
|
|
68
68
|
mis = mutation.mutated_isoforms
|
|
69
|
-
genes.concat mis.select_by(:
|
|
69
|
+
genes.concat mis.select_by(:non_synonymous).transcript.gene unless mis.nil? or mis.empty?
|
|
70
70
|
genes.concat mutation.transcripts_with_affected_splicing.gene
|
|
71
71
|
genes.uniq.each{|gene| samples_with_gene_affected[gene] ||= []; samples_with_gene_affected[gene] << genotype.jobname}
|
|
72
72
|
end
|
data/lib/rbbt/entity/study.rb
CHANGED
|
@@ -167,7 +167,6 @@ module Study
|
|
|
167
167
|
end
|
|
168
168
|
samples = dir.matrices[type].samples.find if dir.matrices[type].samples.exists?
|
|
169
169
|
samples = dir.samples.find if samples.nil? and dir.samples.exist?
|
|
170
|
-
|
|
171
|
-
Matrix.new(data, identifiers, samples, format, organism)
|
|
170
|
+
Matrix.new(data, samples, "count", format, organism, identifiers)
|
|
172
171
|
end
|
|
173
172
|
end
|
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.28
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miguel Vazquez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-26 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
|