nf-core_modules/tests/modules/sratools/prefetch/main.nf
Moritz E. Beber 07c0830057
Add a module for sra-tools prefetch (#714)
* chore: apply module template

* refactor: add NCBI settings to options

* docs: complete meta information

* feat: add prefetch process

* fix: correct bash commands

* tests: define the right tests

* style: move option definition to satisfy linting

* fix: extract version correctly

* fix: correct newline issues

* refactor: address review comments

* Apply suggestions from code review

* chore: add retrying via nf-core label

* refactor: validate download thoroughly

* refactor: remove vdb-config input

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-10-11 22:30:41 +01:00

15 lines
324 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { SRATOOLS_PREFETCH } from '../../../../modules/sratools/prefetch/main.nf' addParams( options: [:] )
workflow test_sratools_prefetch {
input = [
[ id:'test', single_end:false ], // meta map
'ERR2815334'
]
SRATOOLS_PREFETCH ( input )
}