--- id: biotite version: "1.7.1" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # biotite — A comprehensive library for computational molecular biology License: permissive · Maintenance: active · Downloads: 3.3M/mo ## What it is and what it does Biotite is a comprehensive Python library for computational molecular biology that unifies common bioinformatics workflows into a single API. It handles sequence and biomolecular structure data through file I/O (reading and writing popular formats), database queries (searching and fetching from biological databases), analysis and editing, visualization, and external tool integration. The library stores most data internally as NumPy ndarray objects, enabling fast C-accelerated computation, NumPy-like indexing syntax, and direct access to underlying arrays for custom analysis. The package targets both small analysis scripts and larger bioinformatics software projects. It depends on numpy, requests, msgpack, networkx, and biotraj at runtime, with optional matplotlib support for plotting. The library is actively maintained, supports current Python versions (3.12+), and has no known security vulnerabilities. Use it for: - Download protein sequences from NCBI Entrez and perform sequence alignment using substitution matrices. - Parse and analyze biomolecular structure files (PDB, mmCIF) to identify structural features like disulfide bonds. - Identify homologous sequence regions across a protein family using sequence search and alignment tools. - Build custom bioinformatics pipelines by combining file parsing, analysis, and visualization in a single workflow. - Visualize sequence alignments and protein structures for publication or interactive exploration. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Biotite provides a unified Python library for computational molecular biology, handling sequence and biomolecular structure data through file I/O, analysis, visualization, and database integration. Yes. Biotite is production-stable (Development Status 5), actively maintained, carries no known vulnerabilities, and offers a cohesive API for common bioinformatics tasks. Medium install friction is offset by prebuilt wheels and strong community adoption (top 5000 PyPI). Install if you work with sequences or structures; the unified interface and NumPy integration reduce boilerplate significantly. ## Install pip install biotite uv add biotite poetry add biotite ## Installing biotite Before you install: Medium install friction with prebuilt wheels for Python 3.12–3.14 across macOS, Linux, and Windows. Active maintenance (last commit 2026-08-11, release 53 days ago) and 969 GitHub stars indicate solid community support. License in practice: BSD-3-Clause (permissive) allows commercial and private use with minimal restrictions; attribution and license text inclusion are required. Quickstart: pip install biotite import biotite.sequence.align as align import biotite.database.entrez as entrez file_name = entrez.fetch_single_file( uids=["CAC34569", "ACL82594"], file_name="sequences.fasta", db_name="protein", ret_type="fasta" ) matrix = align.SubstitutionMatrix.std_protein_matrix() alignments = align.align_optimal(seq1, seq2, matrix) Requires Python 3.12 or later; network access needed for database fetching via entrez module. Verify before relying: - Whether matplotlib is bundled or must be installed separately for visualization features. - Performance characteristics when handling large-scale sequence datasets or structure files. - Compatibility with third-party bioinformatics tools beyond what the description mentions. ## Package facts - License: BSD-3-Clause (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 3.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags protein sequence alignment, molecular structure analysis, bioinformatics file parsing, biological database fetching, computational biology library, protein structure visualization, sequence homology search, bioinformatics, molecular-biology, sequence-analysis [View on SkillFed](https://skillfed.io/packages/biotite) · [View on PyPI](https://pypi.org/project/biotite/)