Skip to content
Snippets Groups Projects
Unverified Commit 5bc80c3d authored by Laurent Modolo's avatar Laurent Modolo
Browse files

nf_module: sratoolkit add DSL2

parent 7b298e92
No related branches found
No related tags found
No related merge requests found
version = "2.8.2"
container_url = "lbmc/sratoolkit:${version}"
process index_fasta {
container = "${container_url}"
label "big_mem_mono_cpus"
tag "$sra"
input:
val sra
output:
tuple val(sra), path("*.fastq"), emit: fastq
script:
"""
fastq-dump --split-files --gzip ${sra}
if [ -f ${sra}_1.fastq ]
then
mv ${sra}_1.fastq ${sra}_R1.fastq
fi
if [ -f ${sra}_2.fastq ]
then
mv ${sra}_2.fastq ${sra}_R2.fastq
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