Skip to main content

traitar_run

Tags: phenotype traits pfam sample-scope

Predict phenotypic traits from microbial genomes.

Uses Traitar to predict phenotypic traits from nucleotide sequences. Traitar annotates protein families using Pfam and applies machine learning models to predict 67 diverse microbial traits.

Database Required

Requires a Pfam database directory (downloaded via traitar pfam or the download module).

Inputs

record (
meta: Record,
fna: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
fnaPathAssembled contigs in FASTA format
db: Path
NameTypeDescription
dbPathPfam-A HMM file for Traitar

Outputs

record (
meta: Record,
majority_tsv: Path,
single_tsv: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
majority_tsvPathMajority-vote combined phenotype trait predictions
single_tsvPathSingle-votes combined phenotype trait predictions
resultsSet<Path>All output files to be published
logsSet<Path?>Optional program specific log files
nf_logsSet<Path>Nextflow-specific log files (e.g. .command.{begin
versionsSet<Path>A YAML formatted file with program versions

Used By

Subworkflows

  • traitar - Predict phenotypic traits from microbial genomes

Workflows

  • traitar - Predict phenotypic traits from microbial genomes

Citations

If you use this in your analysis, please cite the following.

Source

View source on GitHub

Version

TRAITAR_RUN:
- traitar: 3.0.1