megablast
pipes/WDL/workflows/blastoff.wdl

WORKFLOW megablast

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

Imports

Namespace Path
megablast ../tasks/tasks_megablast.wdl

Workflow: megablast

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

Inputs

Name Type Description Default
inBam File - -
clipDb File - -
blast_db_tgz File - -
taxonomy_db_tgz File - -
host_species Int - -
db_name String - -
log_dir String? - -
20 optional inputs with default values

Outputs

Name Type Expression
most_popular_taxon_id File blastoff.most_popular_taxon_id
blastoff_txt_results File blastoff.blastoff_results
blastoff_kraken File blastoff.blastoff_kraken

Calls

This workflow calls the following tasks or subworkflows:

CALL TASKS trim_rmdup_subsamp

Input Mappings (2)
Input Value
inBam inBam
clipDb clipDb

CALL TASKS blastoff

Input Mappings (5)
Input Value
trimmed_fasta trim_rmdup_subsamp.trimmed_fasta
blast_db_tgz blast_db_tgz
taxonomy_db_tgz taxonomy_db_tgz
host_species host_species
db_name db_name

Images

Container images used by tasks in this workflow:

🐳 Parameterized Image
⚙️ Parameterized

Configured via input:
docker

Used by 1 task:
  • trim_rmdup_subsamp
🐳 Parameterized Image
⚙️ Parameterized

Configured via input:
docker

Used by 1 task:
  • blastoff
← Back to Index

megablast - Workflow Graph

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

megablast - WDL Source Code

version 1.0

import "../tasks/tasks_megablast.wdl" as megablast

workflow megablast {
    meta {
        desription:        "Runs megablast followed by LCA for taxon identification."
        author:            "Broad Viral Genomics"
        email:             "viral-ngs@broadinstitute.org"
        allowNestedInputs: true
    }

    input {
        File   inBam
        File   clipDb
        File   blast_db_tgz
        File   taxonomy_db_tgz
        Int    host_species
        String db_name
    }

    call megablast.trim_rmdup_subsamp {
        input: 
            inBam = inBam,
            clipDb = clipDb
    }

    call megablast.blastoff {
        input:
            trimmed_fasta   = trim_rmdup_subsamp.trimmed_fasta, 
            blast_db_tgz    = blast_db_tgz,
            taxonomy_db_tgz = taxonomy_db_tgz,
            host_species    = host_species,
            db_name         = db_name

    }

    output {
        File most_popular_taxon_id = blastoff.most_popular_taxon_id
        File blastoff_txt_results  = blastoff.blastoff_results
        File blastoff_kraken       = blastoff.blastoff_kraken
    }
}