Add ref FASTA to test main.nf

This commit is contained in:
Anders Goncalves da Silva 2021-02-12 11:29:16 -08:00
parent 0a6e8400ac
commit 8b3c16a518
No known key found for this signature in database
GPG key ID: 9DAECD8B113C8AFE

View file

@ -5,9 +5,9 @@ nextflow.enable.dsl = 2
include { IVAR_CONSENSUS } from '../../../../software/ivar/consensus/main.nf' addParams([:]) include { IVAR_CONSENSUS } from '../../../../software/ivar/consensus/main.nf' addParams([:])
workflow test_ivar_consensus { workflow test_ivar_consensus {
def ref = file("${launchDir}/tests/data/fasta/sarscov2/MN908947.3.fa", 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_CONSENSUS ( input ) IVAR_CONSENSUS ( input, ref )
} }