subsample_by_metadata
pipes/WDL/workflows/subsample_by_metadata.wdl

WORKFLOW subsample_by_metadata

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

Imports

Namespace Path
nextstrain ../tasks/tasks_nextstrain.wdl

Workflow: subsample_by_metadata

Filter and subsample a sequence set. See https://nextstrain-augur.readthedocs.io/en/stable/usage/cli/filter.html

Inputs

Name Type Description Default
sequences_fasta File - -
sample_metadata_tsv File - -
sequences_per_group Int? - -
group_by String? - -
include File? - -
exclude File? - -
min_date Float? - -
max_date Float? - -
min_length Int? - -
priority File? - -
subsample_seed Int? - -
exclude_where Array[String]? - -
include_where Array[String]? - -
3 optional inputs with default values

Outputs

Name Type Expression
filtered_fasta File filter_subsample_sequences.filtered_fasta

Calls

This workflow calls the following tasks or subworkflows:

CALL TASKS filter_subsample_sequences

No explicit input mappings

Images

Container images used by tasks in this workflow:

🐳 Parameterized Image
⚙️ Parameterized

Configured via input:
docker

Used by 1 task:
  • filter_subsample_sequences
← Back to Index

subsample_by_metadata - Workflow Graph

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

subsample_by_metadata - WDL Source Code

version 1.0

import "../tasks/tasks_nextstrain.wdl" as nextstrain

workflow subsample_by_metadata {
    meta {
        description: "Filter and subsample a sequence set. See https://nextstrain-augur.readthedocs.io/en/stable/usage/cli/filter.html"
    }

    call nextstrain.filter_subsample_sequences
    output {
        File filtered_fasta = filter_subsample_sequences.filtered_fasta
    }
}