diff --git a/tests/software/tiddit/sv/main.nf b/tests/software/tiddit/sv/main.nf index 97e2af3c..f68aa152 100644 --- a/tests/software/tiddit/sv/main.nf +++ b/tests/software/tiddit/sv/main.nf @@ -7,24 +7,20 @@ include { SAMTOOLS_FAIDX } from '../../../../software/samtools/faidx/main.nf' ad workflow test_tiddit_sv { def input = [] - def fasta = file("${launchDir}/tests/data/fasta/E_coli/NC_010473.fa", checkIfExists: true) + def fasta = file("${launchDir}/tests/data/genomics/sarscov2/fasta/test_genome.fasta", checkIfExists: true) + def fai = file("${launchDir}/tests/data/genomics/sarscov2/fasta/test_genome.fasta.fai", checkIfExists: true) input = [ [ id:'test' ], // meta map - [ file("${launchDir}/tests/data/bam/test.paired_end.sorted.bam", checkIfExists: true) ] ] + [ file("${launchDir}/tests/data/genomics/sarscov2/bam/test_paired_end.sorted.bam", checkIfExists: true) ] ] - SAMTOOLS_FAIDX ( fasta ) - - TIDDIT_SV ( input, fasta, SAMTOOLS_FAIDX.out.fai ) + TIDDIT_SV ( input, fasta, fai ) } workflow test_tiddit_sv_no_ref { def input = [] - def dummy_file = file("${launchDir}/tests/data/dummy/dummy_file.txt", checkIfExists: true) - def dummy_file2 = file("${launchDir}/tests/data/dummy/dummy_file2.txt", checkIfExists: true) input = [ [ id:'test' ], // meta map - [ file("${launchDir}/tests/data/bam/test.paired_end.sorted.bam", checkIfExists: true) ] ] + [ file("${launchDir}/tests/data/genomics/sarscov2/bam/test_paired_end.sorted.bam", checkIfExists: true) ] ] - - TIDDIT_SV ( input, dummy_file, dummy_file2 ) + TIDDIT_SV ( input, [], [] ) } \ No newline at end of file diff --git a/tests/software/tiddit/sv/test.yml b/tests/software/tiddit/sv/test.yml index 0cf3c8bb..50b2f0f2 100644 --- a/tests/software/tiddit/sv/test.yml +++ b/tests/software/tiddit/sv/test.yml @@ -6,9 +6,9 @@ - vcf files: - path: output/tiddit/test.ploidy.tab - md5sum: 207bd22e75de82160f98bedc2d3d262d + md5sum: 45e050b0e204f0a5a3a99627cc440eaa - path: output/tiddit/test.signals.tab - md5sum: 67e041b737fe0fe1a33119c3109e9eff + md5sum: 25408a43dbdd01c08e33a6d670f2bb84 - path: output/tiddit/test.vcf should_exist: true @@ -20,8 +20,8 @@ - vcf files: - path: output/tiddit/test.ploidy.tab - md5sum: 207bd22e75de82160f98bedc2d3d262d + md5sum: 45e050b0e204f0a5a3a99627cc440eaa - path: output/tiddit/test.signals.tab - md5sum: 67e041b737fe0fe1a33119c3109e9eff + md5sum: 25408a43dbdd01c08e33a6d670f2bb84 - path: output/tiddit/test.vcf should_exist: true