Crates.io | mibig-taxa |
lib.rs | mibig-taxa |
version | 0.2.0 |
source | src |
created_at | 2021-12-16 08:42:35.39823 |
updated_at | 2024-07-16 11:12:00.918973 |
description | NCBI taxdump handling for MIBiG |
homepage | |
repository | https://github.com/mibig-secmet/taxa-rs.git |
max_upload_size | |
id | 499066 |
size | 37,593 |
NCBI taxdump handling for MIBiG
This package is designed to help the MIBiG database to handle NCBI taxid lookups using NCBI taxdump data.
The package contains both a Rust library as well as a command line tool mibig-taxa
to
manage a local JSON-based cache of interesting taxa, allowing bulk database imports to speed up
compared to parsing directly from the taxdump files.
cargo install mibig-taxa
In order to use it, grab the latest taxdump collection and extract it. You'll also need a directory of MIBiG BGC entry json files.
Then, you can run the command line tool like
mibig-taxa init --cache mibig_cache.json --datadir path/to/mibig/jsons/ --mergeddump path/to/merged.dmp --taxdump path/to/rankedlineage.dmp
to initialise the cache and
mibig-taxa list --cache mibig_cache.json
to list the contents of the provided cache.
For using the library, see the API documentation.
Licensed under the Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as Apache-2.0, without any additional terms or conditions.