Skip to main content

clonalframeml

Tags: bacteria recombination phylogeny alignment msa evolution run-scope

Inference of recombination in bacterial genomes.

Uses ClonalFrameML to detect recombination events in bacterial genomes. It corrects the phylogenetic tree for recombination and produces a "masked" alignment where recombinant regions are removed, allowing for more accurate phylogenetic inference.

Inputs

record (
meta: Record,
aln: Path,
nwk: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
alnPathMultiple sequence alignment in FASTA format
nwkPathInitial phylogenetic tree in Newick format

Outputs

record (
meta: Record,
emsim: Path?,
em: Path,
status: Path,
nwk: Path,
fasta: Path,
pos_ref: Path,
masked_aln: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
emsimPath?Uncertainty estimation results (if requested)
emPathFinal parameter estimates from the EM algorithm
statusPathTab-delimited list of predicted recombination events (importations)
nwkPathThe input tree with internal nodes labelled
fastaPathReconstructed ancestral sequences (*.fasta.gz)
pos_refPathPosition cross-reference table (*.txt.gz)
masked_alnPathThe input alignment with recombinant regions masked (*.aln.gz)
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

Parameters

ClonalFrameML Parameters

ParameterTypeDefaultDescription
--clonalframeml_emsiminteger100Number of simulations to estimate uncertainty in the EM results
--skip_recombinationbooleanfalseSkip ClonalFrameML execution in subworkflows

Used By

Subworkflows

  • clonalframeml - Detect and mask recombination events in bacterial phylogenies.

Workflows

  • pangenome - Pangenome analysis with optional core-genome phylogeny.

Citations

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

Source

View source on GitHub

Version

CLONALFRAMEML:
- clonalframeml: 1.12