2023-09-23 20:34:27 +00:00
|
|
|
process EFETCH {
|
2023-09-23 20:36:01 +00:00
|
|
|
label 'process_single'
|
|
|
|
|
2023-09-23 20:34:27 +00:00
|
|
|
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
|
|
|
|
"""
|
|
|
|
}
|