Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix malformed Strelka VCFs #983

Merged
merged 1 commit into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
"""
}