Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 2.46 KB

File metadata and controls

40 lines (34 loc) · 2.46 KB

THRESHER

Determines bacterial clonality and identifies strains/transmission clusters using phylothresholds (phylogenetically-corrected SNP thresholds).

THRESHER comprises four modes:

Full Pipeline: Run the complete analysis pipeline from scratch.

Full-Pipeline Workflow

thresher full -h

CladeBreaker OFF: Re-identify strain composition without CladeBreaker correction

CladeBreaker OFF Workflow

thresher cladebreaker-off -h

CladeBreaker operates on the assumption that the study genomes represent hyperlocal strains unique to the setting and absent from public databases. Under this assumption, public genomes should not be the same strain with study genomes, thereby constraining strain composition and preventing overestimation of strain size. If, however, the user has evidence that public genomes belong to the same strains as the study genomes, CladeBreaker correction should be disabled. This allows public genomes to cluster with study genomes, avoiding underestimation of strain size and overestimation of the number of strains.

Redo Endpoint: Only rerun the final endpoint analysis using existing intermediate files.

Redo Endpoint Workflow

thresher redo-endpoint -h
  • Current supported endpoints. For each hierarchical clustering group defined in the core gene tree:
    • Plateau: Phylothreshold set at a plateau where further increases no longer change the number or composition of strains within the group.
    • Peak: Phylothreshold set at the peak number of clones defined within the group.
    • Discrepancy: Phylothreshold set at the point where the discrepancy is minimized within the group.
    • Public: Phylothreshold set at the first time a public genome is included in any strain within the group.

New SNPs: Update existing strain/transmission compositions with new genomes using predefined phylothresholds.

New SNPs Workflow

thresher new-snps -h

New Full: Rerun the full pipeline to update the phylothresholds, and update strain/transmission compositions with new genomes.

New Full Workflow

thresher new-full -h