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