mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
Fix tests to work with gff param
This commit is contained in:
parent
e8d1171b5d
commit
9a5aa0f145
1 changed files with 5 additions and 4 deletions
|
@ -8,18 +8,19 @@ include { IVAR_VARIANTS } from '../../../../software/ivar/variants/main.nf' addP
|
||||||
|
|
||||||
workflow test_ivar_variants_no_gff {
|
workflow test_ivar_variants_no_gff {
|
||||||
def ref = file("${launchDir}/tests/data/fasta/sarscov2/MN908947.3.fa", checkIfExists: true)
|
def ref = file("${launchDir}/tests/data/fasta/sarscov2/MN908947.3.fa", checkIfExists: true)
|
||||||
def gff = file('NO_FILE')
|
|
||||||
def input = []
|
def input = []
|
||||||
input = [ [ id:'test'],
|
input = [ [ id:'test'],
|
||||||
file("${launchDir}/tests/data/bam/test-sc2-artic-v3-sorted-trimmed.bam", checkIfExists: true) ]
|
file("${launchDir}/tests/data/bam/test-sc2-artic-v3-sorted-trimmed.bam", checkIfExists: true) ]
|
||||||
IVAR_VARIANTS ( input, ref, gff )
|
IVAR_VARIANTS ( input, ref )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
params.gff = file("${launchDir}/tests/data/gff/sarscov2/MN908947.3.gff3", checkIfExists: true)
|
||||||
|
|
||||||
workflow test_ivar_variants_with_gff {
|
workflow test_ivar_variants_with_gff {
|
||||||
|
|
||||||
def ref = file("${launchDir}/tests/data/fasta/sarscov2/MN908947.3.fa", checkIfExists: true)
|
def ref = file("${launchDir}/tests/data/fasta/sarscov2/MN908947.3.fa", checkIfExists: true)
|
||||||
def gff = file("${launchDir}/tests/data/gff/sarscov2/MN908947.3.gff3", checkIfExists: true)
|
|
||||||
def input = []
|
def input = []
|
||||||
input = [ [ id:'test'],
|
input = [ [ id:'test'],
|
||||||
file("${launchDir}/tests/data/bam/test-sc2-artic-v3-sorted-trimmed.bam", checkIfExists: true) ]
|
file("${launchDir}/tests/data/bam/test-sc2-artic-v3-sorted-trimmed.bam", checkIfExists: true) ]
|
||||||
IVAR_VARIANTS ( input, ref, gff )
|
IVAR_VARIANTS ( input, ref )
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue