Crates.io | clade |
lib.rs | clade |
version | 0.1.3 |
source | src |
created_at | 2024-09-02 09:32:17.043657 |
updated_at | 2024-09-09 13:34:24.490671 |
description | A tool for phlyo tree, a phylogenetic tree construction software. |
homepage | |
repository | https://github.com/eric9n/clade |
max_upload_size | |
id | 1360330 |
size | 109,000 |
A tool for phylogenetic tree construction and pruning based on NCBI taxonomy data and GTDB (Genome Taxonomy Database) data.
Fetch and process NCBI taxonomy data
Fetch and process GTDB data
Parse taxonomy data into efficient vector structures
Prune phylogenetic trees based on user input
Generate Newick format output from pruned trees
Support for both NCBI and GTDB data sources
brew install eric9n/tap/clade
The Clade tool supports the following commands:
update
: Update NCBI taxdump filesgtdb
: GTDB related operations
list
: List all GTDB release versionssync
: Download GTDB data files and parse metadatadownload
: Download GTDB data filesparse
: Parse GTDB metadata and create databasenewick
: Generate Newick format from GTDB databasegenerate
: Generate and print taxonomy summary from taxdump filesprune
: Prune the taxonomy tree and generate Newick formatUpdate NCBI taxdump files:
clade -t /path/to/taxo update
List GTDB release versions:
clade -t /path/to/taxo gtdb list
Download and parse GTDB data:
clade -t /path/to/taxo gtdb sync --version 220.0
Generate Newick format from GTDB database:
clade -t /path/to/taxo gtdb newick --version 220.0 --domain bacteria --input input.txt --output output.newick
Prune taxonomy tree:
clade -t /path/to/taxo prune --taxids 9606,9605 --output pruned.newick