mutations_caller_pipeline_aws 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,12 @@
|
|
1
1
|
class GatkCaller
|
2
2
|
# INDEX is normal genom.fa
|
3
3
|
# Genotyper
|
4
|
-
def self.call(log_dir, gatk, index_fa, read_bam, read_vcf, job_prefix, account, debug)
|
4
|
+
def self.call(log_dir, gatk, index_fa, dbSNP, read_bam, read_vcf, job_prefix, account, debug)
|
5
5
|
cmd = "echo 'starting GATK for mutant at ' `date` >> #{log_dir}
|
6
6
|
qsub -o #{log_dir} -V -cwd -b y -N genotyper_#{job_prefix} -l h_vmem=4.5G -hold_jid recalibration_#{job_prefix} #{account}\
|
7
7
|
#{gatk} -l INFO -R #{index_fa} -T UnifiedGenotyper \
|
8
8
|
-I #{read_bam} \
|
9
|
+
-D #{dbSNP}
|
9
10
|
-o #{read_vcf} \
|
10
11
|
--genotype_likelihoods_model BOTH"
|
11
12
|
puts cmd
|
@@ -16,7 +17,7 @@ class GatkCaller
|
|
16
17
|
# Coverage Summary
|
17
18
|
def self.coverage(log_dir, gatk, index_fa, read_bam, outfile_prefix, job_prefix, account, debug)
|
18
19
|
cmd = "echo 'starting coverage GATK for mutant at ' `date` >> #{log_dir}
|
19
|
-
qsub -o #{log_dir} -V -cwd -b y -N
|
20
|
+
qsub -o #{log_dir} -V -cwd -b y -N coverage_#{job_prefix} -l h_vmem=4.5G -hold_jid recalibration_#{job_prefix} #{account}\
|
20
21
|
#{gatk} -R #{index_fa} -T DepthOfCoverage \
|
21
22
|
-I #{read_bam} \
|
22
23
|
-o #{outfile_prefix} "
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutations_caller_pipeline_aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 15
|
10
|
+
version: 0.0.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kaharina Hayer
|