mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 06:03:10 +00:00
4398056204
* Add tests and yml file for macs2/callpeak * add format option for macs2 * update macs2/callpeak to accept format argument * update test.yml * update the container version. * try to fix the issue in conda container. * Update conda and containers * Going back to previous container versions Co-authored-by: JoseEspinosa <kadomu@gmail.com>
31 lines
1.4 KiB
Text
31 lines
1.4 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { MACS2_CALLPEAK } from '../../../../modules/macs2/callpeak/main.nf' addParams( options: ["args": "--qval 0.1"] )
|
|
include { MACS2_CALLPEAK as MACS2_CALLPEAK_CTRL } from '../../../../modules/macs2/callpeak/main.nf' addParams( options: ["args": "--qval 0.1"] )
|
|
include { MACS2_CALLPEAK as MACS2_CALLPEAK_BED } from '../../../../modules/macs2/callpeak/main.nf' addParams( options: ["args": "--format BED --qval 1 --nomodel --extsize 200"] )
|
|
|
|
workflow test_macs2_callpeak_bed {
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
[ file( params.test_data['homo_sapiens']['pacbio']['genemodel1'], checkIfExists: true)],
|
|
[]]
|
|
|
|
MACS2_CALLPEAK_BED ( input, 4000 )
|
|
}
|
|
|
|
workflow test_macs2_callpeak {
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
[ file( params.test_data['homo_sapiens']['illumina']['test_paired_end_name_sorted_bam'], checkIfExists: true) ],
|
|
[]]
|
|
|
|
MACS2_CALLPEAK ( input, 40000 )
|
|
}
|
|
|
|
workflow test_macs2_callpeak_ctrl {
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
[ file( params.test_data['homo_sapiens']['illumina']['test_paired_end_name_sorted_bam'], checkIfExists: true) ],
|
|
[ file( params.test_data['homo_sapiens']['illumina']['test2_paired_end_name_sorted_bam'], checkIfExists: true) ]]
|
|
|
|
MACS2_CALLPEAK_CTRL ( input, 40000 )
|
|
}
|