isnvs_lofreq
pipes/WDL/workflows/isnvs_lofreq.wdl

WORKFLOW isnvs_lofreq

File Path pipes/WDL/workflows/isnvs_lofreq.wdl
WDL Version 1.0
Type workflow

Imports

Namespace Path
intrahost ../tasks/tasks_intrahost.wdl

Workflow: isnvs_lofreq

variant calls by LoFreq against reference_fasta

Author: Broad Viral Genomics
viral-ngs@broadinstitute.org

Inputs

Name Type Description Default
aligned_bams Array[File]+ reads aligned to the sequence within reference_fasta. -
reference_fasta File Reference sequence to which reads have be aligned -
2 optional inputs with default values

Outputs

Name Type Expression
lofreq_vcfs Array[File] lofreq.report_vcf
lofreq_version String lofreq.lofreq_version[0]

Calls

This workflow calls the following tasks or subworkflows:

CALL TASKS lofreq

Input Mappings (2)
Input Value
aligned_bam aligned_bam
reference_fasta reference_fasta

Images

Container images used by tasks in this workflow:

🐳 Parameterized Image
⚙️ Parameterized

Configured via input:
docker

Used by 1 task:
  • lofreq
← Back to Index

isnvs_lofreq - Workflow Graph

🖱️ Scroll to zoom • Drag to pan • Double-click to reset • ESC to close

isnvs_lofreq - WDL Source Code

version 1.0

import "../tasks/tasks_intrahost.wdl" as intrahost

workflow isnvs_lofreq {
    meta {
        description: "variant calls by LoFreq against reference_fasta"
        author: "Broad Viral Genomics"
        email:  "viral-ngs@broadinstitute.org"
    }

    parameter_meta {
        aligned_bams: {
            description: "reads aligned to the sequence within reference_fasta.",
            patterns: ["*.bam"]
        }
        reference_fasta: {
            description: "Reference sequence to which reads have be aligned",
            patterns: ["*.fasta"]
        }
    }

    input {
        Array[File]+ aligned_bams
        File         reference_fasta
    }

    scatter(aligned_bam in aligned_bams) {
        call intrahost.lofreq as lofreq {
            input:
                aligned_bam = aligned_bam,
                reference_fasta = reference_fasta
        }
    }

    output {
        Array[File] lofreq_vcfs           = lofreq.report_vcf
        String      lofreq_version        = lofreq.lofreq_version[0]
    }
}