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

21 lines
371 B
Text
Raw Normal View History

process EFETCH {
label 'process_single'
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
"""
}