mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
54 lines
894 B
Text
54 lines
894 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { ENTREZDIRECT_ESUMMARY } from '../../../../modules/entrezdirect/esummary/main.nf'
|
||
|
|
||
|
//
|
||
|
// Test with SRA database
|
||
|
//
|
||
|
workflow test_entrezdirect_esummary_sra {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test_sra' ], // meta map
|
||
|
uid = '5135484',
|
||
|
[]
|
||
|
]
|
||
|
|
||
|
database = 'sra'
|
||
|
|
||
|
ENTREZDIRECT_ESUMMARY ( input, database )
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Test with Genome database
|
||
|
//
|
||
|
workflow test_entrezdirect_esummary_genome {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test_genome' ], // meta map
|
||
|
uid = '768',
|
||
|
[]
|
||
|
]
|
||
|
|
||
|
database = 'genome'
|
||
|
|
||
|
ENTREZDIRECT_ESUMMARY ( input, database )
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Test with Assembly database
|
||
|
//
|
||
|
workflow test_entrezdirect_esummary_assembly {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test_assembly' ], // meta map
|
||
|
uid = '191021',
|
||
|
[]
|
||
|
]
|
||
|
|
||
|
database = 'assembly'
|
||
|
|
||
|
ENTREZDIRECT_ESUMMARY ( input, database )
|
||
|
}
|