Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Few more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kduyvesteyn committed May 24, 2018
1 parent 60c7b0b commit c9c1498
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion settings/Somatic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ AMBER yes
COBALT yes
PURPLE yes

STRUCTURAL_VARIANT_CALLING YES
STRUCTURAL_VARIANT_CALLING yes
MANTA yes

HEALTHCHECK yes
Expand Down
6 changes: 0 additions & 6 deletions templates/Manta.sh.tt
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@
cd "[% opt.OUTPUT_DIR %]"

assert_not_empty "[% sample_bam %]"
[% IF opt.SV_MODE == "sample_control" %]
assert_not_empty "[% control_bam %]"
[% opt.MANTA_PATH %]/configManta.py --referenceFasta "[% opt.GENOME %]" --runDir "[% dirs.out %]" --normalBam "[% control_bam %]" --tumorBam "[% sample_bam %]" --generateEvidenceBam
[% ELSE %]
[% opt.MANTA_PATH %]/configManta.py --referenceFasta "[% opt.GENOME %]" --runDir "[% dirs.out %]" --bam "[% sample_bam %]"
[% END %]

[% dirs.out %]/runWorkflow.py -m local -j [% opt.MANTA_THREADS %]

assert_not_empty "[% dirs.out %]/results/variants/diploidSV.vcf.gz.tbi"
[%- IF opt.SV_MODE == "sample_control" %]
assert_not_empty "[% dirs.out %]/results/variants/somaticSV.vcf.gz.tbi"
[%- END %]

[ "$(cat "[% dirs.out %]/workflow.exitcode.txt")" == "0" ] || failure "Manta workflow logged non-zero exit code."

Expand Down

0 comments on commit c9c1498

Please sign in to comment.