mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 14:13:09 +00:00
c736d26b7e
* Added missing "ucsc" tags (as per the convention) * Added support for the -as input file * Added a test
25 lines
999 B
Text
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 )
|
|
}
|