nf-core_modules/tests/modules/entrezdirect/esummary/main.nf
Alexander Ramos Díaz f420d97ca2
renamed output in entrezdirect/esummary: xml (#1928)
* renamed output: xml

* removed tail -n+3 from output

* removed comment

* removed blank space

* removed blank space

* updated test
2022-07-26 08:33:02 -06:00

50 lines
891 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 )
}