2021-03-22 12:48:23 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { SAMTOOLS_MERGE } from '../../../../software/samtools/merge/main.nf' addParams( options: [:] )
|
|
|
|
|
|
|
|
workflow test_samtools_merge {
|
|
|
|
input = [ [ id: 'test' ], // meta map
|
2021-03-24 09:53:41 +00:00
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_methylated_paired_end.sorted.bam", checkIfExists: true ),
|
|
|
|
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_single_end.sorted.bam", checkIfExists: true) ]
|
|
|
|
]
|
2021-03-22 12:48:23 +00:00
|
|
|
|
|
|
|
SAMTOOLS_MERGE ( input )
|
|
|
|
}
|