mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
4e5b6ed843
* Fix picard/markduplicates with new options syntax * Delete md5sum for bam files and add contains for metrics.txt Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com> Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
22 lines
911 B
Text
22 lines
911 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { PICARD_MARKDUPLICATES } from '../../../../modules/picard/markduplicates/main.nf' addParams( options: [:] )
|
|
include { PICARD_MARKDUPLICATES as PICARD_MARKDUPLICATES_UNSORTED} from '../../../../modules/picard/markduplicates/main.nf' addParams( options: [args : 'ASSUME_SORT_ORDER=queryname' ] )
|
|
|
|
workflow test_picard_markduplicates_sorted_bam {
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
|
]
|
|
|
|
PICARD_MARKDUPLICATES ( input )
|
|
}
|
|
|
|
workflow test_picard_markduplicates_unsorted_bam {
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
|
|
]
|
|
|
|
PICARD_MARKDUPLICATES_UNSORTED ( input )
|
|
}
|