test(picard): Add failing test for markduplicates

This commit is contained in:
Edmund Miller 2020-11-24 19:38:49 -06:00
parent 7848019cdb
commit d1a77b2fb2
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
2 changed files with 17 additions and 0 deletions

View file

@ -37,3 +37,12 @@ workflow test_picard_markduplicates {
PICARD_MARKDUPLICATES ( input ) 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 )
}

View file

@ -33,3 +33,11 @@
- path: output/picard/test.MarkDuplicates.metrics.txt - path: output/picard/test.MarkDuplicates.metrics.txt
- path: output/picard/test.bam - path: output/picard/test.bam
md5sum: 50407a1ee722f2bf6a20471c8a7fd6b0 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