PyBioQuanta
PyBioQuanta is a lightweight Python package offering 6 essential bioinformatics utilities.
It is designed for quick sequence operations, small analyses, and everyday bioinformatics tasks.
Features
- FASTA Reader: Parse FASTA files into Python dictionaries.
- Reverse Complement: Get the reverse complement of DNA or RNA sequences.
- DNA Translator: Translate DNA sequences into protein.
- GC Content Calculator: Calculate GC percentage of a sequence.
- Motif Finder: Find positions of motifs (subsequences) inside sequences.
- Random DNA Generator: Create random DNA sequences of desired length.
Installation
You can install PyBioQuanta via pip once it's uploaded:
pip install PyBioQuanta
Usage
1. FASTA Reader
from PyBioQuanta import read_fasta
sequences = read_fasta("example.fasta")
print(sequences)
2. Reverse Complement
from PyBioQuanta import reverse_complement
seq = "ATCG"
rc = reverse_complement(seq)
print(rc)
3. DNA Translator
from PyBioQuanta import translate_dna
dna_seq = "ATGGCCATTGTAATGGGCCGCTGAAAGGGTGCCCGATAG"
protein = translate_dna(dna_seq)
print(protein)
4. GC Content Calculator
from PyBioQuanta import gc_content
seq = "ATGCGC"
gc_percentage = gc_content(seq)
print(f"GC Content: {gc_percentage:.2f}%")
5. Motif Finder
from PyBioQuanta import find_motif
seq = "ATGCGCGTAGCGC"
motif = "GCG"
positions = find_motif(seq, motif)
print(positions)
6. Random DNA Generator
from PyBioQuanta import generate_random_dna
random_seq = generate_random_dna(50)
print(random_seq)
Metadata
Release files for PyBioQuanta 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PyBioQuanta-0.1.1.tar.gz | 3.8 kB | Without provenance | Details for PyBioQuanta-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PyBioQuanta-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for PyBioQuanta-0.1.1-py3-none-any.whl |
Total release size: 8.9 kB
Release files / PyBioQuanta-0.1.1.tar.gz
| Download URL | PyBioQuanta-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c13a3bf3e3889eb695f8d4ff6868b3903e9a82150e1b773fd0eef2471e1f7f77
|
|
BLAKE2b-256 checksum How to use checksums |
d9c2852d38b7752ba2c6fc3ac998b3a79830ab370fd03f661fb97f07b5f0305d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Release files / PyBioQuanta-0.1.1-py3-none-any.whl
| Download URL | PyBioQuanta-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9aceea16dad859394942f3955988003cfeafbf17c1adf038c34e23c0c3596a3a
|
|
BLAKE2b-256 checksum How to use checksums |
6c6af9f411c22a793922d1f978fe6853fa8e454d85d492db7986e69f7682435f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Security for PyBioQuanta 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.