mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
test(picard): Add failing test for markduplicates
This commit is contained in:
parent
7848019cdb
commit
d1a77b2fb2
2 changed files with 17 additions and 0 deletions
|
@ -37,3 +37,12 @@ workflow test_picard_markduplicates {
|
|||
|
||||
PICARD_MARKDUPLICATES ( input )
|
||||
}
|
||||
|
||||
workflow test_picard_markduplicates_not_sorted {
|
||||
|
||||
def input = []
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
file("${launchDir}/tests/data/bam/test.paired_end.name.sorted.bam", checkIfExists: true) ]
|
||||
|
||||
PICARD_MARKDUPLICATES ( input )
|
||||
}
|
||||
|
|
|
@ -33,3 +33,11 @@
|
|||
- path: output/picard/test.MarkDuplicates.metrics.txt
|
||||
- path: output/picard/test.bam
|
||||
md5sum: 50407a1ee722f2bf6a20471c8a7fd6b0
|
||||
|
||||
- name: Run picard MarkDuplicates without a sorted bam file so it fails
|
||||
command: nextflow run ./tests/software/picard -profile docker -entry test_picard_markduplicates_not_sorted -c tests/config/nextflow.config
|
||||
tags:
|
||||
- picard
|
||||
- picard_markduplicates
|
||||
- should fail
|
||||
exit_code: 1
|
||||
|
|
Loading…
Reference in a new issue