nf-core_modules/tests/software/sequenzautils/bam2seqz/main.nf

21 lines
785 B
Text
Raw Normal View History

#!/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 )
}