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