mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Fix a bunch of failing tests after switching to test config (#378)
* Update test for trimgalore * Fix picard markduplicate test * Fix tests for picard mergesamfiles * Fix checksum for markduplicates * Fix multiplemetrics and wgsmetrics * Fix checksum for mergesamfiles
This commit is contained in:
parent
17fbdf96cb
commit
2dba72dd14
7 changed files with 14 additions and 14 deletions
|
@ -6,9 +6,9 @@ include { PICARD_COLLECTMULTIPLEMETRICS } from '../../../../software/picard/coll
|
|||
|
||||
workflow test_picard_collectmultiplemetrics {
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
||||
]
|
||||
fasta = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true)
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
PICARD_COLLECTMULTIPLEMETRICS ( input, fasta )
|
||||
}
|
||||
|
|
|
@ -6,10 +6,10 @@ include { PICARD_COLLECTWGSMETRICS } from '../../../../software/picard/collectwg
|
|||
|
||||
workflow test_picard_collectwgsmetrics {
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true),
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam.bai", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
|
||||
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam_bai'], checkIfExists: true)
|
||||
]
|
||||
fasta = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true)
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
PICARD_COLLECTWGSMETRICS ( input, fasta )
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ include { PICARD_MARKDUPLICATES } from '../../../../software/picard/markduplicat
|
|||
|
||||
workflow test_picard_markduplicates_sorted_bam {
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
||||
]
|
||||
|
||||
PICARD_MARKDUPLICATES ( input )
|
||||
|
@ -14,7 +14,7 @@ workflow test_picard_markduplicates_sorted_bam {
|
|||
|
||||
workflow test_picard_markduplicates_unsorted_bam {
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.bam", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
|
||||
]
|
||||
|
||||
PICARD_MARKDUPLICATES ( input )
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
files:
|
||||
- path: ./output/picard/test.MarkDuplicates.metrics.txt
|
||||
- path: ./output/picard/test.bam
|
||||
md5sum: 19a4891c3b98d0482dce2253fb28d852
|
||||
md5sum: fe8ed25b4bd25be0cc7a8730fc3b2f30
|
||||
|
||||
- name: picard markduplicates on unsorted bam
|
||||
command: nextflow run ./tests/software/picard/markduplicates -entry test_picard_markduplicates_unsorted_bam -c tests/config/nextflow.config
|
||||
|
|
|
@ -6,8 +6,8 @@ include { PICARD_MERGESAMFILES } from '../../../../software/picard/mergesamfiles
|
|||
|
||||
workflow test_picard_mergesamfiles {
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
[ 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.bam", checkIfExists: true), ]
|
||||
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
|
||||
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true), ]
|
||||
]
|
||||
|
||||
PICARD_MERGESAMFILES ( input )
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
- picard_mergesamfiles
|
||||
files:
|
||||
- path: ./output/picard/test.bam
|
||||
md5sum: 58c55f222b48df0a536cb635593388a4
|
||||
md5sum: b8bd6c22f36c6ebc91bca98bd637a2eb
|
||||
|
|
|
@ -9,7 +9,7 @@ include { TRIMGALORE } from '../../../software/trimgalore/main.nf' addParams( op
|
|||
*/
|
||||
workflow test_trimgalore_single_end {
|
||||
input = [ [ id:'test', single_end:true ], // meta map
|
||||
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/fastq/test_1.fastq.gz", checkIfExists: true) ]
|
||||
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ]
|
||||
]
|
||||
|
||||
TRIMGALORE ( input )
|
||||
|
@ -20,8 +20,8 @@ workflow test_trimgalore_single_end {
|
|||
*/
|
||||
workflow test_trimgalore_paired_end {
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/fastq/test_1.fastq.gz", checkIfExists: true),
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/illumina/fastq/test_2.fastq.gz", checkIfExists: true) ]
|
||||
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
||||
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
|
||||
]
|
||||
|
||||
TRIMGALORE ( input )
|
||||
|
|
Loading…
Reference in a new issue