Biotite project
Biotite is your Swiss army knife for bioinformatics. Whether you want to identify homologous sequence regions in a protein family or you would like to find disulfide bonds in a protein structure: Biotite has the right tool for you. This package bundles popular tasks in computational molecular biology into a uniform Python library. It can handle a major part of the typical workflow for sequence and biomolecular structure data:
Searching and fetching data from biological databases
Reading and writing popular sequence/structure file formats
Analyzing and editing sequence/structure data
Visualizing sequence/structure data
Interfacing external applications for further analysis
Biotite internally stores most of the data as NumPy ndarray objects, enabling
fast C-accelerated analysis,
intuitive usability through NumPy-like indexing syntax,
extensibility through direct access of the internal NumPy arrays.
As a result the user can skip writing code for basic functionality (like file parsers) and can focus on what their code makes unique - from small analysis scripts to entire bioinformatics software packages.
If you use Biotite in a scientific publication, please cite:
Installation
Biotite requires the following packages:
numpy
requests
msgpack
networkx
Some functions require some extra packages:
matplotlib - Required for plotting purposes.
Biotite can be installed via Conda…
$ conda install -c conda-forge biotite
… or pip
$ pip install biotite
Usage
Here is a small example that downloads two protein sequences from the NCBI Entrez database and aligns them:
import biotite.sequence.align as align
import biotite.sequence.io.fasta as fasta
import biotite.database.entrez as entrez
# Download FASTA file for the sequences of avidin and streptavidin
file_name = entrez.fetch_single_file(
uids=["CAC34569", "ACL82594"], file_name="sequences.fasta",
db_name="protein", ret_type="fasta"
)
# Parse the downloaded FASTA file
# and create 'ProteinSequence' objects from it
fasta_file = fasta.FastaFile.read(file_name)
avidin_seq, streptavidin_seq = fasta.get_sequences(fasta_file).values()
# Align sequences using the BLOSUM62 matrix with affine gap penalty
matrix = align.SubstitutionMatrix.std_protein_matrix()
alignments = align.align_optimal(
avidin_seq, streptavidin_seq, matrix,
gap_penalty=(-10, -1), terminal_penalty=False
)
print(alignments[0])
MVHATSPLLLLLLLSLALVAPGLSAR------KCSLTGKWDNDLGSNMTIGAVNSKGEFTGTYTTAV-TA
-------------------DPSKESKAQAAVAEAGITGTWYNQLGSTFIVTA-NPDGSLTGTYESAVGNA
TSNEIKESPLHGTQNTINKRTQPTFGFTVNWKFS----ESTTVFTGQCFIDRNGKEV-LKTMWLLRSSVN
ESRYVLTGRYDSTPATDGSGT--ALGWTVAWKNNYRNAHSATTWSGQYV---GGAEARINTQWLLTSGTT
DIGDDWKATRVGINIFTRLRTQKE---------------------
-AANAWKSTLVGHDTFTKVKPSAASIDAAKKAGVNNGNPLDAVQQ
More documentation, including a tutorial, an example gallery and the API reference is available at https://www.biotite-python.org/.
Contribution
Interested in improving Biotite? Have a look at the contribution guidelines. Feel free to join our community chat on Discord.
Release files for biotite 1.7.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 | |
|---|---|---|---|
| biotite-1.7.1.tar.gz | 39.9 MB | Details |
Built distributions (wheels)
Total release size: 658.2 MB
Release files / biotite-1.7.1.tar.gz
| Download URL | biotite-1.7.1.tar.gz |
|---|---|
| Size | 39.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ae4a5d2c2d5ba08ca5d89a647984c99f45994eb908b614e896ce9e4db3ca800
|
|
BLAKE2b-256 checksum How to use checksums |
fc93ed0751d0f16d54ec82735605c776b37c77af7949a3dd230a1226f2b3b4df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp314-cp314-win_amd64.whl
| Download URL | biotite-1.7.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 45.3 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
858b9b947933744f2251a06197cb0a15ec6b64ec0b54bae4fbafecd39725c3ce
|
|
BLAKE2b-256 checksum How to use checksums |
64ba9caf28b59d72f0414c68fca415fe00652718a93ff0743111433cca5c98c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | biotite-1.7.1-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 57.7 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d34184f23facc4a35bc0ac7914162f6fc5b6c68bf7fbf3187c1966cf53ce9918
|
|
BLAKE2b-256 checksum How to use checksums |
3edccfbc0d38bded4f481d46be88c7ce00c0cd6f9455fb7d728484b2006ff4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp314-cp314-manylinux_2_28_aarch64.whl
| Download URL | biotite-1.7.1-cp314-cp314-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 57.3 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
d47443b507c6968cb6823ec0cc0bdca1baed6d11ce08bcc015b8a5409d943bf9
|
|
BLAKE2b-256 checksum How to use checksums |
678b66ef1cda70d5b4f5d71c959b19f5bc22dde7e428f53a748f7f64ed02b6ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | biotite-1.7.1-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 45.7 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
327f008ec9539624d05161f34ac279b76f4ca303bd98cc9b49d6557dad7cc5c9
|
|
BLAKE2b-256 checksum How to use checksums |
c107aa395daa14c9078178875fecb688f8a7e185ac42eeb2296d1d4e17902b57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp313-cp313-win_amd64.whl
| Download URL | biotite-1.7.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 45.3 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
965824257f716a77de3df35616cdaf302483a9ab8df98dc1dd0096c987342c49
|
|
BLAKE2b-256 checksum How to use checksums |
44c793a55ec59b8677e89c54f103a1b5017c75cec322b36bf738f27381513273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | biotite-1.7.1-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 57.9 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
085976013c62977eb29c5180cdffbc4b49633f35172b64c99e56eb7007d9f516
|
|
BLAKE2b-256 checksum How to use checksums |
7f3451e095d4d4475bc64b793efd362b33d8c88658ac7b8a0b41c632d598b6d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp313-cp313-manylinux_2_28_aarch64.whl
| Download URL | biotite-1.7.1-cp313-cp313-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 57.3 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
4f99104e7ebc1b2ab8ff7910736321e1205c85dba532826877ff263c65bd85ff
|
|
BLAKE2b-256 checksum How to use checksums |
851666398b9eced43ca1f421dd46f013d1c9a3b8e159e2de62ec0e11604a29c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | biotite-1.7.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 45.6 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5212116934b9c22515f86a1c23046cf3ecf7c9706464b14f16d72cd993866095
|
|
BLAKE2b-256 checksum How to use checksums |
b1b1b01e44a3d0ceefce400ee857a8baada1a0a5661a8c1222d1b2ec46d606a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp312-cp312-win_amd64.whl
| Download URL | biotite-1.7.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 45.3 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4a6a2bdeb92adf21e2a94fe0de898aa2dc01ed8c8b8241b4b2fd646c0dabc155
|
|
BLAKE2b-256 checksum How to use checksums |
b6b5f69879c3a641063e450901b2d68c2d2cb948fa5edf041b6e6638d942d20b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | biotite-1.7.1-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 58.0 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
f563bebc5f2cc754b0e3773b75d5c216cfb5e89146f0c68dfec3d1d1d50051fb
|
|
BLAKE2b-256 checksum How to use checksums |
1d04cb4e8ba80ba81790d02dcc69d7529961140fc114abde927c99e9ba9c9457
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | biotite-1.7.1-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 57.3 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
6d7dbc50b1ea807131775d38078383a9513384fad0119f519a399cf701c34cf0
|
|
BLAKE2b-256 checksum How to use checksums |
99b1d28dbdfef015fc01807e7f34dff35d4a50585a974a761a7bee0ae2ebeea9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / biotite-1.7.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | biotite-1.7.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 45.6 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1465b43485d29f5f1f80cfb43ee64e68aa0128a248b31cbc04fadfcc20f8288d
|
|
BLAKE2b-256 checksum How to use checksums |
f063b3f4c33be78c8718c8554417c8383ec89103e5b60904f75262546d3edbfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency log