mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 13:23:09 +00:00
21 lines
795 B
Text
21 lines
795 B
Text
|
#!/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)
|
||
|
wigfile = file(params.test_data['sarscov2']['genome']['test_wig_gz'], checkIfExists: true)
|
||
|
|
||
|
SEQUENZAUTILS_BAM2SEQZ ( input, fasta, wigfile )
|
||
|
}
|