mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
Add reference fasta as input
This commit is contained in:
parent
6b22bb9782
commit
a4bba006bd
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ process IVAR_CONSENSUS {
|
|||
|
||||
input:
|
||||
tuple val(meta), path(bam)
|
||||
path(fasta)
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*.fa") , emit: fasta
|
||||
|
@ -33,6 +34,7 @@ process IVAR_CONSENSUS {
|
|||
def save_mpileup = params.save_mpileup ? "tee ${prefix}.mpileup |" : ""
|
||||
"""
|
||||
samtools mpileup \\
|
||||
--fasta-ref $fasta
|
||||
-aa -A -d 0 -Q 0 \\
|
||||
$options.args2 \\
|
||||
$bam | \\
|
||||
|
|
Loading…
Reference in a new issue