mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
e937c7950a
* Update README * Rename pytest_software.yml to pytest_modules.yml * Rename main software directory to modules * Remove deprecated modules * Rename tests software to modules * Replace paths for tests in pytest_modules.yml * Replace software with modules in Github Actions * Replace software with modules in main.nf tests * Rename software to modules in test.yml
44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { IVAR_VARIANTS } from '../../../../modules/ivar/variants/main.nf' addParams([:])
|
|
|
|
workflow test_ivar_variants_no_gff_no_mpileup {
|
|
params.gff = false
|
|
params.save_mpileup = false
|
|
|
|
input = [ [ id:'test'],
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
dummy = file("dummy_file.txt")
|
|
|
|
IVAR_VARIANTS ( input, fasta, dummy )
|
|
}
|
|
|
|
workflow test_ivar_variants_no_gff_with_mpileup {
|
|
params.gff = false
|
|
params.save_mpileup = true
|
|
|
|
input = [ [ id:'test'],
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
dummy = file("dummy_file.txt")
|
|
|
|
IVAR_VARIANTS ( input, fasta, dummy )
|
|
}
|
|
|
|
workflow test_ivar_variants_with_gff_with_mpileup {
|
|
params.gff = true
|
|
params.save_mpileup = true
|
|
|
|
input = [ [ id:'test'],
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
gff = file(params.test_data['sarscov2']['genome']['genome_gff3'], checkIfExists: true)
|
|
|
|
IVAR_VARIANTS ( input, fasta, gff )
|
|
}
|