2021-03-28 19:38:50 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 09:10:18 +00:00
|
|
|
include { FGBIO_SORTBAM } from '../../../../modules/fgbio/sortbam/main.nf' addParams( options: [args: '-s TemplateCoordinate', suffix: '_out'] )
|
|
|
|
include { FGBIO_CALLMOLECULARCONSENSUSREADS } from '../../../../modules/fgbio/callmolecularconsensusreads/main.nf' addParams( options: [args: '-M 1', suffix: '_molreads'] )
|
2021-03-28 19:38:50 +00:00
|
|
|
|
|
|
|
workflow test_fgbio_callmolecularconsensusreads {
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true) ]
|
|
|
|
FGBIO_SORTBAM ( input )
|
|
|
|
FGBIO_CALLMOLECULARCONSENSUSREADS ( FGBIO_SORTBAM.out.bam )
|
|
|
|
}
|