2022-05-04 11:42:12 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2022-05-04 13:29:48 +00:00
|
|
|
include { HAPPY_PREPY } from '../../../../modules/happy/prepy/main.nf'
|
2022-05-04 11:42:12 +00:00
|
|
|
|
2022-05-04 13:29:48 +00:00
|
|
|
workflow test_happy_prepy_vcf {
|
2022-05-04 11:42:12 +00:00
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_genome21_indels_vcf_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
fasta = Channel.value([
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
|
|
])
|
|
|
|
|
2022-05-04 13:29:48 +00:00
|
|
|
HAPPY_PREPY ( input, fasta )
|
2022-05-04 11:42:12 +00:00
|
|
|
}
|
|
|
|
|
2022-05-04 13:29:48 +00:00
|
|
|
workflow test_happy_prepy_gvcf {
|
2022-05-04 11:42:12 +00:00
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_genome_vcf'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
fasta = Channel.value([
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
|
|
])
|
|
|
|
|
2022-05-04 13:29:48 +00:00
|
|
|
HAPPY_PREPY ( input, fasta )
|
2022-05-04 11:42:12 +00:00
|
|
|
}
|