rbbt-study 0.2.22 → 0.2.23

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
- OTgwODBhYjg4OGY4MGFjOGY4NzE1MDE1MDYwN2UxNzgzMzVhOGJjNQ==
4
+ ZGYzNzEzZjBkZWRlMGU4N2Q5ZDUxOTA5YThhOWQxZmJlY2M3ODU4Yw==
5
5
  data.tar.gz: !binary |-
6
- ZDFlNDA0YTkyYTM3ZjU4YjYzMWI5YjUxNjdmZWM1ZWQyOTg4OGIzOQ==
6
+ YTFjZjNiMGIwNTkwNDc3ZjQyMWE4YjlkYzk2YWNiMDFmMTA1NDQ5Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTcwZjI1OWZjNGZmOTg0MzNiMDRmNjIyMDQzYWUyMzAxYTgxOGFkMDg0M2Ez
10
- MzEyZTlmMjUyMDc2NzM2NTRkZTI2OGI4MmViNDRlYmNkMzcxYmM5ZGNlZmIy
11
- NGRiODBiMzY4ZTAwNWZkN2VjYzBhOWU4OGI0NDI0NjA1ZThjZjg=
9
+ MmRmODk4ZGMxOTVlYzY5ZjQ1ZTEwM2JkNzM4MzFhN2Q4Mzg1OWUxMTM2NGQ2
10
+ NzM4MmI3MmM5NjBjYjE5M2QzMDM2ZGE1OGNiM2MzYTk5NDBlMmE1MjUwZWFk
11
+ NjgzNTFlY2QwNjk4MTA3ZmVjODU5YjI0M2ZiMTUxMDA0Y2E3MzE=
12
12
  data.tar.gz: !binary |-
13
- Mjk0Njc5MTNlNTAyMjRmOWE4MzRhYzU5YjFlYTc5MzM0Y2ZiZjExZjEwYzJl
14
- NTBlZTU4ZGU5OTAxZmQwZmFiYTcyM2E2YWIzNzljYTQ5MGFmM2M4MDE5NjA5
15
- YWE4NmQ0YzU2NWJiMzZmY2Y5NDY0NTM2ZmY0MmVjYTJiZTBlNzE=
13
+ ZDllZjIwNWRkODEwNWUwYTFjMzdhNGQzZWM0MzI3MTFiZDdmOGVlMmViZjBi
14
+ ZTJjZDgwZDc5ZWU5NzFlZWJjZGU4MGNhNzQzOWEwZDViMDM4MjdmMTA2NzNj
15
+ NjBkOWQxYzcxYTkzOTBmMmNiYzNkNTM5MjZiYThkYTUwNDcyYjQ=
@@ -1,10 +1,10 @@
1
1
  module Sample
2
2
  property :cnvs => :array2single do
3
- study.cnv_cohort
3
+ study.has_cnv? ? study.cnv_cohort : {}
4
4
  end
5
5
 
6
6
  property :has_cnv? => :array2single do
7
- study.cnv_cohort.values_at(*self).collect{|cnvs| not cnvs.nil?}
7
+ study.has_cnv? ? cnvs.values_at(*self).collect{|cnvs| not cnvs.nil?} : [false] * self.length
8
8
  end
9
9
 
10
10
  property :gene_CN => :single do
@@ -1,10 +1,10 @@
1
1
  module Sample
2
2
  property :methylation => :array2single do
3
- study.methylation_cohort
3
+ study.has_methylation? ? study.methylation_cohort : {}
4
4
  end
5
5
 
6
6
  property :has_methylation? => :array2single do
7
- study.methylation_cohort.values_at(*self).collect{|methylation| not methylation.nil?}
7
+ study.has_methylation? ? study.methylation_cohort.values_at(*self).collect{|methylation| not methylation.nil?} : [false] * self.length
8
8
  end
9
9
 
10
10
  property :methylated => :single do
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.22
4
+ version: 0.2.23
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-17 00:00:00.000000000 Z
11
+ date: 2013-12-30 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