mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-26 04:18:17 +00:00
97fe899f79
* Reduce number of required input files for damage profiler * Remove rebugging * Add optional species list file. * Working pending updated test-dataset update * Add genome header to config
39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { DAMAGEPROFILER } from '../../../modules/damageprofiler/main.nf' addParams( options: [:] )
|
|
|
|
workflow test_damageprofiler {
|
|
|
|
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 = []
|
|
|
|
|
|
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 )
|
|
}
|