2021-03-24 12:55:49 +08:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2022-08-16 12:05:25 +01:00
|
|
|
include { UCSC_BEDTOBIGBED } from '../../../../modules/ucsc/bedtobigbed/main.nf'
|
2022-09-09 09:27:47 +01:00
|
|
|
include { UCSC_BEDTOBIGBED as UCSC_BEDTOBIGBED_AS } from '../../../../modules/ucsc/bedtobigbed/main.nf'
|
2021-03-24 12:55:49 +08:00
|
|
|
|
2022-08-16 12:05:25 +01:00
|
|
|
workflow test_ucsc_bedtobigbed {
|
2021-03-24 12:55:49 +08:00
|
|
|
input = [ [ id: 'test' ], // meta map
|
2022-09-09 09:27:47 +01:00
|
|
|
[ file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true ) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-04-09 13:47:05 +01:00
|
|
|
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
|
2021-03-24 12:55:49 +08:00
|
|
|
|
2022-09-09 09:27:47 +01:00
|
|
|
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 )
|
2021-03-24 12:55:49 +08:00
|
|
|
}
|