A bioinformatics toolkit for DNA sequence analysis, FASTA/GenBank file operations, NCBI queries, sequence alignment, phylogenetics, and protein structure visualization.
Project description
🧬 biotool-ravi
A comprehensive Python bioinformatics toolkit for DNA sequence analysis, file format conversion, NCBI queries, sequence alignment, phylogenetics, and protein structure visualization.
Installation
pip install biotool-ravi
Features
| Module | Description |
|---|---|
seq_operations |
DNA slicing, concatenation, transcription & translation |
fasta_reader |
Parse and read FASTA files |
genbank_writer |
Create GenBank format files |
fasta_to_genbank |
Convert FASTA → GenBank |
gene_annotation |
Add annotations and features to sequences |
ncbi_fetch |
Fetch sequences from NCBI Entrez |
pairwise_align |
Pairwise sequence alignment |
muscle_align |
Multiple sequence alignment via MUSCLE |
phylo_tree |
Phylogenetic tree construction (UPGMA/NJ) |
pdb_viewer |
3D protein structure visualization |
Quick Start (Python API)
from biotool import dna_operations, read_fasta, fetch_from_ncbi
# DNA operations
result = dna_operations("ATGCTAGCTAGCTAGCTG", start=3, end=11)
print(result["rna"]) # RNA sequence
print(result["protein"]) # Protein sequence
# Read FASTA file
records = read_fasta("sequences.fasta")
# Fetch from NCBI
data = fetch_from_ncbi("NM_001301717")
print(data["organism"], data["length"])
Command-Line Interface
# DNA sequence operations
biotool seq-ops --seq ATGCTAGCTAGCTAGCTG
# Read FASTA file
biotool read-fasta sequences.fasta
# Fetch from NCBI
biotool fetch-ncbi NM_001301717
# Pairwise alignment
biotool align-pair --seq1 AGTACACTGGT --seq2 AGTACGCTGGT
# Convert FASTA to GenBank
biotool convert input.fasta output.gb
# Build phylogenetic tree
biotool phylo-tree aligned.fasta --method upgma
# View 3D protein structure
biotool view-pdb 1A3N --save structure.png
Requirements
- Python >= 3.8
- Biopython >= 1.80
- Matplotlib >= 3.5
- NumPy >= 1.21
- MUSCLE (optional, for multiple alignment)
License
MIT License - see LICENSE for details.
Author
ravi — ravi424e@gmail.com
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 biotool_ravi-1.0.0.tar.gz.
File metadata
- Download URL: biotool_ravi-1.0.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f7ae5ac144144a3ff4d7f4d1ac11c48fcdc91e0877cf67d5393ab3e5435a564
|
|
| MD5 |
47e819474840362341fe487d3f1a71ea
|
|
| BLAKE2b-256 |
484b8f0e993ce007e3ba342c8e41f7efd070a374b80460cf96bbfc91e59e20a3
|
File details
Details for the file biotool_ravi-1.0.0-py3-none-any.whl.
File metadata
- Download URL: biotool_ravi-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf11d049c4fd63569f114ef450830d9f6634c95d49f25a8d0d8c736f68d07bbf
|
|
| MD5 |
82a1a9c5f9649e4dcc7b6f8ae2ac7864
|
|
| BLAKE2b-256 |
faf04ba061b9b396e69f9b77eb34d6ccb1aa851c71bb4d0610bf0071e82b32c1
|