vardetect-vc 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -27,3 +27,11 @@ TODO: Write usage instructions here
27
27
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
28
  4. Push to the branch (`git push origin my-new-feature`)
29
29
  5. Create new Pull Request
30
+
31
+ 156553003
32
+ 156571176
33
+
34
+
35
+ 168665645
36
+
37
+ 170706648
data/lib/vardetect-vc.rb CHANGED
@@ -34,6 +34,31 @@ module Vardetect
34
34
  when 'snv'
35
35
 
36
36
  call_snv params
37
+
38
+ when 'snv-batch'
39
+
40
+ path = '/Users/soup/Desktop/chula/data'
41
+ path = params['path'] if params['path']
42
+
43
+ working = params['exp']
44
+
45
+ for i in params['samples'].split(',').compact
46
+
47
+ sample_id = i
48
+
49
+
50
+ ref_file = File.join(path,'ref','hg19.fa')
51
+ sam_file = File.join(path,working,'bam',"#{sample_id}.remdup.uniqMap.TS.bam")
52
+ vc_raw_file = File.join(path,working,'snv-vc',"#{sample_id}_vc_raw_snv.tsv")
53
+
54
+ p = "snv -ref #{ref_file} -sam #{sam_file} -vc_out #{vc_raw_file} -core 16"
55
+
56
+ p = parse_params(p)
57
+ puts p.inspect
58
+ call_snv p
59
+
60
+ end
61
+
37
62
 
38
63
  when 'snv-range'
39
64
 
@@ -1,5 +1,5 @@
1
1
  module Vardetect
2
2
  module Vc
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vardetect-vc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-20 00:00:00.000000000 Z
12
+ date: 2012-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi