mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
0bd8506ea1
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
25 lines
971 B
Text
25 lines
971 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { QUAST } from '../../../software/quast/main.nf' addParams(options: [:])
|
|
|
|
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)
|
|
def use_fasta = true
|
|
def use_gtf = true
|
|
|
|
QUAST( consensus, fasta, gff, use_fasta, use_gtf )
|
|
}
|
|
|
|
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
|
|
|
|
QUAST( consensus, fasta, gff, use_fasta, use_gtf )
|
|
}
|