nf-core_modules/tests/software/quast/main.nf

26 lines
971 B
Text
Raw Normal View History

2021-01-29 15:06:14 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
2021-02-01 12:13:21 +00:00
include { QUAST } from '../../../software/quast/main.nf' addParams(options: [:])
2021-01-29 15:06:14 +00:00
workflow test_quast_ref {
consensus = file("${launchDir}/tests/data/fasta/sarscov2/GCA_011545545.1_ASM1154554v1_cds_from_genomic.fna", checkIfExists: true)
gff = file("${launchDir}/tests/data/gff/sarscov2/GCA_011545545.1_ASM1154554v1_genomic.gtf", checkIfExists: true)
fasta = file("${launchDir}/tests/data/fasta/sarscov2/GCA_011545545.1_ASM1154554v1_genomic.fna", checkIfExists: true)
2021-02-01 12:13:21 +00:00
def use_fasta = true
def use_gtf = true
QUAST( consensus, fasta, gff, use_fasta, use_gtf )
2021-02-01 12:13:21 +00:00
}
workflow test_quast_noref {
consensus = file("${launchDir}/tests/data/fasta/sarscov2/GCA_011545545.1_ASM1154554v1_cds_from_genomic.fna", checkIfExists: true)
gff = file('gff_dummy')
fasta = file('fasta_dummy')
def use_fasta = false
def use_gtf = false
2021-01-29 15:06:14 +00:00
QUAST( consensus, fasta, gff, use_fasta, use_gtf )
2021-01-29 15:06:14 +00:00
}