symclatron: symbiont classifier
Project description
symclatron: symbiont classifier
ML-based classification of microbial symbiotic lifestyles
symclatron is a tool that classifies microbial genomes (input is protein FASTA files (.faa)) into three symbiotic lifestyle categories:
- Free-living
- Symbiont; Host-associated
- Symbiont; Obligate-intracellular
Installation and quick start
Step 1: Install pixi (Requirement ⚠️)
curl -fsSL https://pixi.sh/install.sh | sh
More information about pixi can be found in the pixi documentation.
Step 2: Install symclatron
pixi global install -c conda-forge -c bioconda -c https://repo.prefix.dev/astrogenomics symclatron
symclatron setup
Test the installation
symclatron test
Setup data (required)
Before using symclatron for the first time, you need to download the required database files. This only needs to be done once.
symclatron setup
Input file requirements
- Input file format: Protein FASTA files (
.faa) - Quality: Complete or near-complete genomes recommended, but good performance for MQ MAGs are expected
Classify your genomes
symclatron classify --genome-dir /path/to/genomes/ --output-dir results/
Getting help
symclatron --help
# Command-specific help
symclatron classify --help
symclatron setup --help
# Show version and information
symclatron --version
Classification command
The main classification command with all options:
symclatron classify [OPTIONS]
Options:
--genome-dir, -i: Directory containing genome FASTA files (.faa) [default: input_genomes]--output-dir, -o: Output directory for results [default: output_symclatron]--keep-tmp: Keep temporary files for debugging--threads, -t: Number of threads for HMMER searches [default: 2]--quiet, -q: Suppress progress messages--verbose: Show detailed progress information
Examples:
# Basic usage
symclatron classify --genome-dir genomes/ --output-dir results/
# With more threads and keeping temporary files
symclatron classify -i genomes/ -o results/ --threads 8 --keep-tmp
# Quiet mode
symclatron classify --genome-dir genomes/ --quiet
# Verbose mode with detailed progress
symclatron classify --genome-dir genomes/ --verbose
Results
The classification results are saved in the specified output directory:
Main output files
-
symclatron_results.tsv- Main classification results with columns:taxon_oid- Genome identifiercompleteness_UNI56- Completeness metric based on universal marker genesconfidence- Overall confidence score for the classificationclassification- Final classification label:Free-livingSymbiont;Host-associatedSymbiont;Obligate-intracellular
-
classification_summary.txt- Summary report with statistics -
Log files - Detailed execution logs with timestamps
Debug files
When using --keep-tmp, intermediate files are preserved in tmp/ directory for analysis.
Performance
symclatron is designed for efficiency:
- >2 minutes per genome on consumer-level laptops
- Most recent benchmark: 306 genomes in ~162 minutes (1.9 min/genome)
- Memory efficient - suitable for standard workstations
Container usage
Apptainer/Singularity
Pull the latest container:
apptainer pull docker://docker.io/jvillada/symclatron:latest
Citation
If you use symclatron in your research, please cite:
A genomic catalog of Earth’s bacterial and archaeal symbionts. Juan C. Villada, Yumary M. Vasquez, Gitta Szabo, Ewan Whittaker-Walker, Miguel F. Romero, Sarina Qin, Neha Varghese, Emiley A. Eloe-Fadrosh, Nikos C. Kyrpides, SymGs data consortium, Axel Visel, Tanja Woyke, Frederik Schulz bioRxiv 2025.05.29.656868; doi: https://doi.org/10.1101/2025.05.29.656868
Support
- Repository: https://github.com/NeLLi-team/symclatron
- Issues: https://github.com/NeLLi-team/symclatron/issues
- Author: Juan C. Villada jvillada@lbl.gov
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file symclatron-0.7.2.tar.gz.
File metadata
- Download URL: symclatron-0.7.2.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84a90ee591ec40cf1ab1b955840297fbc6bd26f928fdeded4844eb2bcf614169
|
|
| MD5 |
4eddbb92adbe937644028ef1efa47d4a
|
|
| BLAKE2b-256 |
5e7c872869ec4da0d9f0088c0faf0944332aef07fd6a87494a2fbc225a50d26f
|
File details
Details for the file symclatron-0.7.2-py3-none-any.whl.
File metadata
- Download URL: symclatron-0.7.2-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b26ead38a13d8f7f004012a55dee7c01061af8f51149dea712b05d478e84d95
|
|
| MD5 |
88e8fb2af0eca7694213946a378d272d
|
|
| BLAKE2b-256 |
06c7361785ec4f27714e9b554f91f125299efa3a3fb761ceb95b900f8067c4e1
|