2021-06-30 03:46:24 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 02:58:40 -05:00
|
|
|
include { DAMAGEPROFILER } from '../../../modules/damageprofiler/main.nf'
|
2021-06-30 03:46:24 -04:00
|
|
|
|
|
|
|
workflow test_damageprofiler {
|
|
|
|
|
2021-10-20 04:02:30 -04:00
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_markduplicates_sorted_bam'], checkIfExists: true) ] ]
|
|
|
|
fasta = []
|
|
|
|
fai = []
|
|
|
|
species_list = []
|
2021-06-30 03:46:24 -04:00
|
|
|
|
2021-10-20 04:02:30 -04:00
|
|
|
|
|
|
|
DAMAGEPROFILER ( input, fasta, fai, species_list )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_damageprofiler_reference {
|
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_markduplicates_sorted_bam'], checkIfExists: true) ] ]
|
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
|
|
species_list = []
|
|
|
|
|
|
|
|
DAMAGEPROFILER ( input, fasta, fai, species_list )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_damageprofiler_specieslist {
|
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_markduplicates_sorted_bam'], checkIfExists: true) ] ]
|
|
|
|
fasta = []
|
|
|
|
fai = []
|
|
|
|
species_list = file(params.test_data['homo_sapiens']['genome']['genome_header'], checkIfExists: true)
|
|
|
|
|
|
|
|
DAMAGEPROFILER ( input, fasta, fai, species_list )
|
2021-06-30 03:46:24 -04:00
|
|
|
}
|