mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-26 23:43:19 -05:00
967fb22ded
* Update versions * update checksums + remove variables as input for applyvqsr * sneak in removal of values and provide them via modules.config * update another checksum * more checksums * move vairable to config * remove controlfreec, wrong branch * add line break
36 lines
2.3 KiB
Text
36 lines
2.3 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { GATK4_APPLYVQSR as GATK4_APPLYVQSR_NO_ALLELSPECIFICITY } from '../../../../modules/gatk4/applyvqsr/main.nf'
|
|
include { GATK4_APPLYVQSR as GATK4_APPLYVQSR_WITH_ALLELSPECIFICITY} from '../../../../modules/gatk4/applyvqsr/main.nf'
|
|
|
|
workflow test_gatk4_applyvqsr {
|
|
input = [ [ id:'test'], // meta map
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_ann_vcf_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_ann_vcf_gz_tbi'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_recal'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_recal_idx'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_tranches'], checkIfExists: true)
|
|
]
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta_fai'], checkIfExists: true)
|
|
dict = file(params.test_data['homo_sapiens']['genome']['genome_21_dict'], checkIfExists: true)
|
|
|
|
GATK4_APPLYVQSR_NO_ALLELSPECIFICITY ( input, fasta, fai, dict )
|
|
}
|
|
|
|
workflow test_gatk4_applyvqsr_allele_specific {
|
|
input = [ [ id:'test'], // meta map
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_ann_vcf_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_ann_vcf_gz_tbi'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_allele_specific_recal'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_allele_specific_recal_idx'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_allele_specific_tranches'], checkIfExists: true)
|
|
]
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta_fai'], checkIfExists: true)
|
|
dict = file(params.test_data['homo_sapiens']['genome']['genome_21_dict'], checkIfExists: true)
|
|
|
|
GATK4_APPLYVQSR_WITH_ALLELSPECIFICITY ( input, fasta, fai, dict)
|
|
}
|