Python bindings for microbiorust, Microbiology friendly bioinformatics functions
Project description
microbiorust-py
Python bindings for microBioRust — a high-performance, modular bioinformatics toolkit written in Rust.
microBioRust is the core Rust Crate
microbiorust-py provides fast and memory-efficient bioinformatics functionality to Python users by leveraging the power of Rust, exposed through PyO3. This package aims to offer an alternative to libraries like Biopython, with a focus on speed, correctness, and extensibility.
Features
- Fast parsers for GenBank and EMBL formats
- Output to GFF, FAA, and FFN
- Accurate feature extraction and translation
- Seamless Python API for easy integration into existing pipelines
- Built with Rust for safety and performance
- Fast parsers for BLAST in XML and tabular formats
- Fast parser for MSA alignments, subset, get_consensus
- Sequence metrics: hydrophobicity,amino_counts,amino_percentage
Installation
Build the PyModule from source using maturin (recommended) - You will need to use the --features flag below:
pip install maturin
maturin develop --features extension-module
You can run
cargo test
which is the Rust test to see if the pyfunctions have been successfully added to the PyModule
Example usage in Python:
import microbiorust
result = microbiorust.gbk_to_faa("test_input.gbk")
for r in result:
print(r)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 microbiorust-0.1.4.tar.gz.
File metadata
- Download URL: microbiorust-0.1.4.tar.gz
- Upload date:
- Size: 9.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
506dd562620e9fae4ed1a70177b7f12e6d20a1e6e2bff9ee58d84c9043f69e1e
|
|
| MD5 |
5e029dbfd5e1825d485c8425012a7aa8
|
|
| BLAKE2b-256 |
42d436b7700329db1244df16f81c2919aef9bb61a1b9731633fcd995974091c9
|
File details
Details for the file microbiorust-0.1.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: microbiorust-0.1.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c888b6bf80f3ea47ad040eed44d8695308b860413203e25df7987fc8c25111aa
|
|
| MD5 |
52a215bd3a542b23f7841caa7c5d6c41
|
|
| BLAKE2b-256 |
d6ba8824fb8ca938021a55841a4bca1ea791e1e0c917b499f93b5fd319bb8a99
|
File details
Details for the file microbiorust-0.1.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: microbiorust-0.1.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0405b7c557a0da1916d712627b0690e607e765eea69db759d5a4ab021af6cbc
|
|
| MD5 |
bc8c5afabf03cbf1067dcfc51df97227
|
|
| BLAKE2b-256 |
1b66f01823edbe5120c28071095557ca9faee6b12786cc88db0c87e8b3dde6cf
|
File details
Details for the file microbiorust-0.1.4-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: microbiorust-0.1.4-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 856.5 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
387dc295e5a4e0291b112f403295e7acbb127375db060755f5fd62b20bff8001
|
|
| MD5 |
215a33481e546f3df7da746b00b35050
|
|
| BLAKE2b-256 |
11308ce5c0e5f3d58ecf7785133b32c3db77d72a6ba81782e5b43f5b4f568059
|
File details
Details for the file microbiorust-0.1.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: microbiorust-0.1.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36220c63e3dac98843e10e444879e963477090307bbc1c499eb19feb9f8953bd
|
|
| MD5 |
24b9c03aea05daecc4e612ede5a371a7
|
|
| BLAKE2b-256 |
3f1e714b543567cfc7b829c921b2a481dff87027f688f27b11ec5218cd0b2c5d
|
File details
Details for the file microbiorust-0.1.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: microbiorust-0.1.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc4b9895797e7f1f10baf61a21f262922a91b45b4a940f61ad06a9c1f8cf566
|
|
| MD5 |
5493761cc51e3e33ba135d6206bea42b
|
|
| BLAKE2b-256 |
ed6f7b470afbab5709b1a17a61377eb3604cfc9938a8c8d2a453981db190e7ef
|
File details
Details for the file microbiorust-0.1.4-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: microbiorust-0.1.4-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 966.5 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43ce6a9927ebff85cd1cc18c67439f980fcaf0bc272417197da06899fd124114
|
|
| MD5 |
59de9eaf24c37604531d526ec8d754d5
|
|
| BLAKE2b-256 |
9eb70dacc23c04388395c279854effcb1158adf935e326e7176da157a6aeb18e
|
File details
Details for the file microbiorust-0.1.4-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: microbiorust-0.1.4-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c01357206b4180f7126b3fc7c38cae22a5af10c2a67ef780328504139491116
|
|
| MD5 |
6bfc720eb8af3a2de4dd01dcb79ed653
|
|
| BLAKE2b-256 |
a16633692139bbb128b989a6f008b11278b85e6c32393453ee71ff1a2ad8e78f
|