2021-03-28 15:38:50 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 05:10:18 -04: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 15:38:50 -04: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 )
|
|
|
|
}
|