2021-07-06 12:11:11 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { ENSEMBLVEP } from '../../../modules/ensemblvep/main.nf'
|
2021-07-06 12:11:11 +00:00
|
|
|
|
2022-06-15 11:52:12 +00:00
|
|
|
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, [] )
|
|
|
|
}
|
|
|
|
|
2022-06-09 09:53:16 +00:00
|
|
|
workflow test_ensemblvep_fasta {
|
2021-11-26 07:58:40 +00:00
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
2022-06-09 09:45:27 +00:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
|
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "104", [], fasta, [] )
|
2021-07-06 12:11:11 +00:00
|
|
|
}
|
2022-06-09 09:53:16 +00:00
|
|
|
|
|
|
|
workflow test_ensemblvep_no_fasta {
|
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
2022-06-09 09:55:41 +00:00
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "104", [], [], [] )
|
2022-06-09 09:53:16 +00:00
|
|
|
}
|