Skip to main content

A bioinformatics toolkit for DNA sequence analysis, FASTA/GenBank file operations, NCBI queries, sequence alignment, phylogenetics, and protein structure visualization.

Project description

🧬 toolkitbio

A comprehensive Python bioinformatics toolkit for DNA sequence analysis, file format conversion, NCBI queries, sequence alignment, phylogenetics, and protein structure visualization.

Installation

pip install toolkitbio

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 toolkitbio 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
toolkitbio seq-ops --seq ATGCTAGCTAGCTAGCTG

# Read FASTA file
toolkitbio read-fasta sequences.fasta

# Fetch from NCBI
toolkitbio fetch-ncbi NM_001301717

# Pairwise alignment
toolkitbio align-pair --seq1 AGTACACTGGT --seq2 AGTACGCTGGT

# Convert FASTA to GenBank
toolkitbio convert input.fasta output.gb

# Build phylogenetic tree
toolkitbio phylo-tree aligned.fasta --method upgma

# View 3D protein structure
toolkitbio 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

raviravi424e@gmail.com

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

toolkitbio-1.0.9.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toolkitbio-1.0.9-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file toolkitbio-1.0.9.tar.gz.

File metadata

  • Download URL: toolkitbio-1.0.9.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for toolkitbio-1.0.9.tar.gz
Algorithm Hash digest
SHA256 cfc061e5561463291c0f0373bc07083f22f8e92acdda149d6614d1e29ea6a5c9
MD5 bbc329aa80b6f65b03182226d594f412
BLAKE2b-256 e143178bf7d03acd64d77e8bccd5494e6b0266b7693464244e631be0c86c55b6

See more details on using hashes here.

File details

Details for the file toolkitbio-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: toolkitbio-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for toolkitbio-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5ef3c682be75e467bd264546149ae675e0b0ca54a1610a5e811b8da80353c5d7
MD5 89e1561db711f722cd6e762691174598
BLAKE2b-256 e69979f235383d3a9fb50a1ede8024a330096f11f8ef67bd097173e3280daa2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page