Skip to content

Commit

Permalink
Merge pull request #983 from mskcc/bugfix/strelka_validation
Browse files Browse the repository at this point in the history
Fix malformed Strelka VCFs
  • Loading branch information
anoronh4 authored Apr 4, 2023
2 parents 1d215b4 + 45cfd9d commit 0575206
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions conf/containers.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
container = "cmopipeline/iannotatesv:0.0.2"
}
withName:"SomaticRunStrelka2.*" {
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.0"
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.1"
}
withName:SomaticCombineChannel {
container = "cmopipeline/bcftools-vt:1.2.3"
Expand Down Expand Up @@ -82,7 +82,7 @@
container = "cmopipeline/delly-bcftools:0.0.1"
}
withName:SomaticRunManta {
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.0"
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.1"
}
withName: '.*RunSvABA' {
container = "cmopipeline/svaba:0.0.1"
Expand Down Expand Up @@ -124,10 +124,10 @@
container = "cmopipeline/bcftools-vt:1.1.1"
}
withName:GermlineRunManta {
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.0"
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.1"
}
withName:"GermlineRunStrelka2" {
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.0"
container = "cmopipeline/strelka2-manta-bcftools-vt:2.0.1"
}
withName:GermlineCombineChannel {
container = "cmopipeline/bcftools-vt:1.2.2"
Expand Down
5 changes: 3 additions & 2 deletions containers/strelka2-manta-bcftools-vt/Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM nfcore/base:latest

LABEL \
authors="Yixiao Gong ([email protected])"
version.image="2.0.0"
authors="Yixiao Gong ([email protected])" \
contributors="Anne Marie Noronha ([email protected])" \
version.image="2.0.1"

COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
Expand Down
1 change: 1 addition & 0 deletions containers/strelka2-manta-bcftools-vt/environment.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dependencies:
- pysam=0.15.2
- strelka=2.9.10
- manta=1.5.0
- bioconda::vcftools=0.1.16
2 changes: 2 additions & 0 deletions modules/process/GermSNV/GermlineRunStrelka2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ process GermlineRunStrelka2 {
mv Strelka/results/variants/variants.vcf.gz ${idNormal}.strelka2.vcf.gz
mv Strelka/results/variants/variants.vcf.gz.tbi ${idNormal}.strelka2.vcf.gz.tbi
if [ \$(vcf-validator ${idNormal}.strelka2.vcf.gz 2>&1 | wc -l ) -gt 0 ] ; then exit 1 ; fi
"""
}
2 changes: 2 additions & 0 deletions modules/process/SNV/SomaticRunStrelka2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@ process SomaticRunStrelka2 {
--output ${outfile}
tabix --preset vcf ${outfile}
if [ \$(vcf-validator ${outfile} 2>&1 | wc -l ) -gt 0 ] ; then exit 1 ; fi
"""
}

0 comments on commit 0575206

Please sign in to comment.