Skip to content

Commit

Permalink
Created delly container
Browse files Browse the repository at this point in the history
  • Loading branch information
msauria committed Sep 20, 2024
1 parent b0ab7c4 commit 8abba5e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions env/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM mambaorg/micromamba:1.5.0

RUN micromamba install -n base bcftools delly -c bioconda -y \
&& micromamba clean -a -y

ARG MAMBA_DOCKERFILE_ACTIVATE=1

USER $MAMBA_USER
ENV PATH="/opt/conda/bin:$PATH"
ENTRYPOINT source /usr/local/bin/_entrypoint.sh
5 changes: 3 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ process delly_call_indel {
"""
echo -e "${control}\tcontrol\n${sample}\ttumor" > samples.tsv
delly call -q 20 -g ${genome} ${bam} ${ref_bam} > sample.vcf
bcftools index sample.vcf
delly filter -f somatic -o ${sample}.bcf -a 0.75 -p -m 50 -n 1000 -s samples.tsv sample.vcf
bcftools sort sample.vcf -Oz -o sample.vcf.gz
bcftools index -t sample.vcf.gz
delly filter -f somatic -o ${sample}.bcf -a 0.75 -p -m 50 -n 1000 -s samples.tsv sample.vcf.gz
"""

}
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ timeline {
}

process {
container = "dellytools/delly:v1.2.6"
container = "andersenlab/delly:v1.2.8"
}

0 comments on commit 8abba5e

Please sign in to comment.