mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
30f72e2482
* Making the output from the VEP-moduel (ENSEMBLVEP) optionally vcf, json or tab. #1774 * Trying to fix tests * Still trying to fix tests * Fetching the vep-output-file-extension from the args. * Update meta.yml * WIP: Adding tests for vep-output json and tab * updated the test.yml Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com> Co-authored-by: nvnieuwk <nicolas.vannieuwkerke@ugent.be>
62 lines
2.1 KiB
Text
62 lines
2.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { ENSEMBLVEP } from '../../../modules/ensemblvep/main.nf'
|
|
|
|
include { ENSEMBLVEP as ENSEMBLVEP_JSON } from '../../../modules/ensemblvep/main.nf'
|
|
include { ENSEMBLVEP as ENSEMBLVEP_TAB } from '../../../modules/ensemblvep/main.nf'
|
|
include { ENSEMBLVEP as ENSEMBLVEP_VCF } from '../../../modules/ensemblvep/main.nf'
|
|
|
|
workflow test_ensemblvep_fasta_json {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_JSON ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta_tab {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_TAB ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta_vcf {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_VCF ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_no_fasta {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "104", [], [], [] )
|
|
}
|