mutations_caller_pipeline_aws 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ ________________________________________________________________________________
20
20
  Also you should have the indices for bwa and GATK prepared.
21
21
  NOTE: Only paired end reads are supported!
22
22
 
23
- +++ C L U S T E R V E R S I O N +++
23
+ +++ C L U S T E R V E R S I O N - 0.0.12 +++
24
24
 
25
25
  config.yml should look like this:
26
26
  # config.yml
@@ -1,8 +1,9 @@
1
1
  class BwaCaller
2
2
 
3
3
  def self.call_paired_end(r1, r2, sai1, sai2, out_file, index, log_file, bwa, samtools, job_prefix,account, debug)
4
- cmd = "qsub -o #{log_file} -hold_jid bwa_aln_#{job_prefix} -V -cwd -b y -N bwa_#{job_prefix} -l h_vmem=9G -pe make 3 #{account}\
5
- #{bwa} sampe -r '@RG\tID:foo\tSM:bar\tPL:Illumina' #{index} \
4
+ dummy = "\\\\\\"
5
+ cmd = "qsub -o #{log_file} -hold_jid bwa_aln_#{job_prefix} -V -cwd -b y -N bwa_#{job_prefix} -l h_vmem=6G -pe make 3 #{account}\
6
+ #{bwa} sampe -r '@RG#{dummy}tID:foo#{dummy}tSM:bar#{dummy}tPL:Illumina' #{index} \
6
7
  #{sai1} #{sai2} #{r1} #{r2} \
7
8
  \\| #{samtools} view -Su - \\| #{samtools} sort - #{out_file}"
8
9
  puts cmd
@@ -3,11 +3,11 @@ class GatkCaller
3
3
  # Genotyper
4
4
  def self.call(log_dir, gatk, index_fa, read_bam, read_vcf, job_prefix, account, debug)
5
5
  cmd = "echo 'starting GATK for mutant at ' `date` >> #{log_dir}
6
- qsub -o #{log_dir} -V -cwd -b y -N genotyper_#{job_prefix} -l h_vmem=3G -hold_jid recalibration_#{job_prefix} #{account}\
6
+ qsub -o #{log_dir} -V -cwd -b y -N genotyper_#{job_prefix} -l h_vmem=4G -hold_jid recalibration_#{job_prefix} #{account}\
7
7
  #{gatk} -l INFO -R #{index_fa} -T UnifiedGenotyper \
8
8
  -I #{read_bam} \
9
9
  -o #{read_vcf} \
10
- --genotype_likelihoods_model BOTH || exit 1"
10
+ --genotype_likelihoods_model BOTH"
11
11
  puts cmd
12
12
  system(cmd) if debug == 1
13
13
  end
@@ -20,7 +20,7 @@ class GatkCaller
20
20
  -R #{index_fa} -T CountCovariates \
21
21
  -cov ReadGroupCovariate -cov QualityScoreCovariate -cov DinucCovariate \
22
22
  -cov CycleCovariate \
23
- -recalFile #{recal_file} || exit 1 "
23
+ -recalFile #{recal_file}"
24
24
  puts cmd
25
25
  system(cmd) if debug == 1
26
26
  end
@@ -34,7 +34,7 @@ class GatkCaller
34
34
  -I #{read_bam} \
35
35
  -T TableRecalibration \
36
36
  -o #{recal_bam} \
37
- -recalFile #{recal_file} || exit 1"
37
+ -recalFile #{recal_file}"
38
38
  puts cmd
39
39
  system(cmd) if debug == 1
40
40
  end
@@ -47,7 +47,7 @@ class GatkCaller
47
47
  -I #{read_bam} \
48
48
  -R #{index_fa} \
49
49
  -T RealignerTargetCreator \
50
- -o #{target_intervals} || exit 1 "
50
+ -o #{target_intervals}"
51
51
  puts cmd
52
52
  system(cmd) if debug == 1
53
53
  end
@@ -61,7 +61,7 @@ class GatkCaller
61
61
  -R #{index_fa} \
62
62
  -T IndelRealigner \
63
63
  -targetIntervals #{target_intervals} \
64
- -o #{realigned_bam} || exit 1"
64
+ -o #{realigned_bam}"
65
65
  puts cmd
66
66
  system(cmd) if debug == 1
67
67
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutations_caller_pipeline_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
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-01-20 00:00:00.000000000 Z
12
+ date: 2012-01-20 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Using BWA to align and GATK to call the bases
15
15
  email:
@@ -53,4 +53,3 @@ signing_key:
53
53
  specification_version: 3
54
54
  summary: Call Mutations for files.fq
55
55
  test_files: []
56
- has_rdoc: