mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
34 lines
953 B
Text
34 lines
953 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { SRATOOLS_PREFETCH } from '../../../../modules/sratools/prefetch/main.nf'
|
|
|
|
workflow test_sratools_prefetch_with_settings_input {
|
|
|
|
file(params.settings_path).mkdirs()
|
|
def settings = file(params.settings_file)
|
|
settings.text = "/LIBS/GUID = \"5b0d4b7d-88c7-4802-98fd-e3afd06feb32\"\n/libs/cloud/report_instance_identity = \"true\"\n"
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
'DRR000774'
|
|
]
|
|
|
|
SRATOOLS_PREFETCH(input, settings)
|
|
}
|
|
|
|
workflow test_sratools_prefetch_without_settings_input {
|
|
|
|
file(params.settings_path).mkdirs()
|
|
def settings = file(params.settings_file)
|
|
settings.text = "/LIBS/GUID = \"5b0d4b7d-88c7-4802-98fd-e3afd06feb32\"\n/libs/cloud/report_instance_identity = \"true\"\n"
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
'DRR000774'
|
|
]
|
|
|
|
SRATOOLS_PREFETCH(input, file('EXISTS'))
|
|
}
|
|
|