mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
fd5f6f5f4f
* revert changes to modules * fix tests * fix kraken2 * fix untar * fix cat * add blank lines * fix typo
52 lines
2.5 KiB
Text
52 lines
2.5 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { MANTA_GERMLINE } from '../../../../modules/manta/germline/main.nf'
|
|
|
|
workflow test_manta_germline {
|
|
input = [
|
|
[ id:'test'], // meta map
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true)],
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram_crai'], checkIfExists: true)]
|
|
]
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
bed = [[],[]]
|
|
|
|
MANTA_GERMLINE ( input, fasta, fai, bed )
|
|
}
|
|
|
|
workflow test_manta_germline_target_bed {
|
|
input = [
|
|
[ id:'test'], // meta map
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true)],
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram_crai'], checkIfExists: true)]
|
|
]
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
bed = [
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz_tbi'], checkIfExists: true),
|
|
]
|
|
|
|
MANTA_GERMLINE ( input, fasta, fai, bed )
|
|
}
|
|
|
|
workflow test_manta_germline_target_bed_jointcalling {
|
|
input = [
|
|
[ id:'test'], // meta map
|
|
[file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_sorted_cram'], checkIfExists: true)],
|
|
[file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram_crai'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_sorted_cram_crai'], checkIfExists: true),]
|
|
]
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
bed = [
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz_tbi'], checkIfExists: true),
|
|
]
|
|
|
|
MANTA_GERMLINE ( input, fasta, fai, bed )
|
|
}
|