2021-04-01 01:08:27 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 05:10:18 -04:00
|
|
|
include { SEQUENZAUTILS_BAM2SEQZ } from '../../../../modules/sequenzautils/bam2seqz/main.nf' addParams( options: [:] )
|
2021-04-01 01:08:27 -04:00
|
|
|
|
|
|
|
workflow test_sequenzautils_bam2seqz {
|
2021-04-09 08:47:05 -04:00
|
|
|
|
2021-04-01 01:08:27 -04:00
|
|
|
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
|
|
|
|
]
|
2021-04-09 08:47:05 -04:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
wig = file(params.test_data['sarscov2']['illumina']['test_wig_gz'], checkIfExists: true)
|
2021-04-01 01:08:27 -04:00
|
|
|
|
2021-04-09 08:47:05 -04:00
|
|
|
SEQUENZAUTILS_BAM2SEQZ ( input, fasta, wig )
|
2021-04-01 01:08:27 -04:00
|
|
|
}
|