nf-core_modules/tests/modules/stranger/main.nf
Lauri Mesilaakso fe4eb459fb
Add stranger (#1360)
* Add stranger

* Add when clause

* Update paths

* Update modules/stranger/main.nf

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
2022-03-01 14:29:46 +01:00

19 lines
832 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { EXPANSIONHUNTER } from '../../../modules/expansionhunter/main.nf'
include { STRANGER } from '../../../modules/stranger/main.nf'
workflow test_stranger {
input = [ [ id:'test', gender:'male' ], // meta map
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam_bai'], checkIfExists: true),
]
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
variant_catalog = file(params.test_data['homo_sapiens']['genome']['repeat_expansions'], checkIfExists: true)
EXPANSIONHUNTER ( input, fasta, variant_catalog )
STRANGER ( EXPANSIONHUNTER.out.vcf )
}