haplotyper-battle-royale/modules/efetch/main.nf

21 lines
374 B
Text
Raw Normal View History

process EFETCH {
cpus 1
memory '256.MB'
container 'quay.io/biocontainers/entrez-direct:16.2--he881be0_1'
publishDir "results", mode: 'copy'
output:
path 'idv4.fasta'
script:
"""
esearch \\
-db nucleotide \\
-query "NC_036618.1" \\
| efetch \\
-format fasta \\
> idv4.fasta
"""
}