nf-core_modules/tests/modules/ucsc/bedtobigbed/main.nf
Matthieu Muffato c736d26b7e
bedToBigBed AutoSql option (#1981)
* Added missing "ucsc" tags (as per the convention)

* Added support for the -as input file

* Added a test
2022-09-09 09:27:47 +01:00

25 lines
999 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { UCSC_BEDTOBIGBED } from '../../../../modules/ucsc/bedtobigbed/main.nf'
include { UCSC_BEDTOBIGBED as UCSC_BEDTOBIGBED_AS } from '../../../../modules/ucsc/bedtobigbed/main.nf'
workflow test_ucsc_bedtobigbed {
input = [ [ id: 'test' ], // meta map
[ file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true ) ]
]
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
UCSC_BEDTOBIGBED ( input, sizes, [] )
}
workflow test_ucsc_bedtobigbed_autosql {
input = [ [ id: 'test' ], // meta map
[ file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true ) ]
]
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
autosql = file(params.test_data['sarscov2']['genome']['bed_autosql'], checkIfExists: true)
UCSC_BEDTOBIGBED_AS ( input, sizes, autosql )
}