Skip to content
Snippets Groups Projects
Verified Commit f1a4275c authored by Laurent Modolo's avatar Laurent Modolo
Browse files

BEDtools: add singularity to nf files

parent 5991008e
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,16 @@ profiles {
process {
withName: fasta_from_bed {
container = "bedtools:2.25.0"
cpus = 1
}
}
}
singularity {
singularity.enabled = true
process {
withName: trimming {
container = "file:///bin/bedtools:2.25.0.sif"
cpus = 1
}
}
}
......
......@@ -3,3 +3,13 @@
-profile docker \
--fasta "data/tiny_dataset/fasta/tiny_v2.fasta" \
--bed "data/tiny_dataset/annot/tiny.bed" \
-resume
if [ -x "$(command -v singularity)" ]; then
./nextflow src/nf_modules/BEDtools/fasta_from_bed.nf \
-c src/nf_modules/BEDtools/fasta_from_bed.config \
-profile singularity \
--fasta "data/tiny_dataset/fasta/tiny_v2.fasta" \
--bed "data/tiny_dataset/annot/tiny.bed" \
-resume
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment