nf-core_modules/tests/software/sequenzautils/bam2seqz/main.nf
Harshil Patel 5e18e36895
Update and check tests are running for all modules (#420)
* Fixes for PR 371

* Fix tags

* Add md5sum

* Add md5sums for stringtie

* Fix tests for modules where subtool = build

* Fix pytest_software name conflicts

* Change _ to / in test.yml tags

* Nope...that didnt work

* Fix sequenzautils/bam2seqz tests
2021-04-09 13:47:05 +01:00

20 lines
785 B
Text
Executable file

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { SEQUENZAUTILS_BAM2SEQZ } from '../../../../software/sequenzautils/bam2seqz/main.nf' addParams( options: [:] )
workflow test_sequenzautils_bam2seqz {
tumourbam = file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
normalbam = file(params.test_data['sarscov2']['illumina']['test_single_end_sorted_bam'], checkIfExists: true)
input = [ [ id:'test' ], // meta map
tumourbam,
normalbam
]
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
wig = file(params.test_data['sarscov2']['illumina']['test_wig_gz'], checkIfExists: true)
SEQUENZAUTILS_BAM2SEQZ ( input, fasta, wig )
}