mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
14 lines
666 B
Text
14 lines
666 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { FGBIO_SORTBAM } from '../../../../software/fgbio/sortbam/main.nf' addParams( options: [args: '-s TemplateCoordinate', suffix: '_out'] )
|
||
|
include { FGBIO_CALLMOLECULARCONSENSUSREADS } from '../../../../software/fgbio/callmolecularconsensusreads/main.nf' addParams( options: [args: '-M 1', suffix: '_molreads'] )
|
||
|
|
||
|
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 )
|
||
|
}
|