Skip to main content
Biotite at PyPI Python version Test status The Biotite Project

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:

Kunzmann, P. & Hamacher, K. BMC Bioinformatics (2018) 19:346.

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.

Metadata

Release files for biotite 1.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biotite 1.8.0
File Size Uploaded
biotite-1.8.0.tar.gz 40.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for biotite 1.8.0
File
biotite-1.8.0-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details
biotite-1.8.0-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details
biotite-1.8.0-cp315-cp315-manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ ARM64 Details
biotite-1.8.0-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details
biotite-1.8.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
biotite-1.8.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
biotite-1.8.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details
biotite-1.8.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
biotite-1.8.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
biotite-1.8.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
biotite-1.8.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
biotite-1.8.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
biotite-1.8.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
biotite-1.8.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
biotite-1.8.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
biotite-1.8.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details

Total release size: 750.2 MB

Release files / biotite-1.8.0.tar.gz

Download URL biotite-1.8.0.tar.gz
Size 40.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7cef4a2a2acc142b9b3c10fe39070e6f4faa7bf65358ebf2bc05f1b0719a0c0b
BLAKE2b-256 checksum
How to use checksums
f3a3f80315ca7e443e7d41d4eb9e9b101c4d3500dd8931c29fbac41d836d2ea6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp315-cp315-win_amd64.whl

Download URL biotite-1.8.0-cp315-cp315-win_amd64.whl
Size 42.9 MB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
eb36c17e4decc069d1ec89e432241a5b6468dcbe63df31b82f880e6cd1afd341
BLAKE2b-256 checksum
How to use checksums
680daf49793495b579747ed914537fa82858106f081a12e578c181ed181e7f37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL biotite-1.8.0-cp315-cp315-manylinux_2_28_x86_64.whl
Size 45.7 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4fbb590934257bfb0055174099d94806d2d8d09ebe9f355b465d8fb11433d1a4
BLAKE2b-256 checksum
How to use checksums
1f0c7e976569f583655b1e0ffe4ffc709f7366ec4b1ef343a5ed4c643cbbc712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp315-cp315-manylinux_2_28_aarch64.whl

Download URL biotite-1.8.0-cp315-cp315-manylinux_2_28_aarch64.whl
Size 45.6 MB
Tags CPython 3.15 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
a40e45f268704204dd20282f1ede2418c7e5610f2c3b13c39ef642cef7b0d896
BLAKE2b-256 checksum
How to use checksums
382e272ef74455d9bf5ab03103c4f57381c1a7332855489bcccfdd946aa46232
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL biotite-1.8.0-cp315-cp315-macosx_11_0_arm64.whl
Size 43.1 MB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a25a3f1c591922edeca7d3a77baff216a7277cbe21b3da780fe427882626d16c
BLAKE2b-256 checksum
How to use checksums
790e228f80f118aef95f155a1c69b35cf1c78a7ba66623c94e12e36543bf828f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp314-cp314-win_amd64.whl

Download URL biotite-1.8.0-cp314-cp314-win_amd64.whl
Size 42.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
2e652ad63a00593cbf31b4ef953f821ac4bf7523f2197d2baf2afe0af4bda2ad
BLAKE2b-256 checksum
How to use checksums
fa1dffcc4f6f072f3bfd6da5fddbced804a9a811733fa0f87628bbb50bede84f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL biotite-1.8.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 45.7 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4f4a2e21f623c3eea9abd627587509b6078b9f954da6a934d79d97490af947ff
BLAKE2b-256 checksum
How to use checksums
bd8d6eb0a09bd8519c85662b4b0b1ac4375af4fc20e7178dfdc00157a7b9e4d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL biotite-1.8.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 45.6 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
cda585118e8df8d4247c1cbaedb8025b191f9b0ccd6d9f8805d47f4f2769be39
BLAKE2b-256 checksum
How to use checksums
0ba0b756aaeb4559004217ea7abc4c3ed20d417b4f5b5f6a1ea326e77652c154
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL biotite-1.8.0-cp314-cp314-macosx_11_0_arm64.whl
Size 43.1 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
26e70c8360f029d6510af34128446cffeba24d3c26d2e160b6b9a27714958d74
BLAKE2b-256 checksum
How to use checksums
0172766325f12899ad5cfc806160a5680512774c4fb4f1441e83e595e6038f59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp313-cp313-win_amd64.whl

Download URL biotite-1.8.0-cp313-cp313-win_amd64.whl
Size 43.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
57b5e46e03f771610a45ed105ef44ec24e3c16b74ad62695ed71cceb2c9be373
BLAKE2b-256 checksum
How to use checksums
47137f5ffeb6671fc0a0caf181ec9303c1e5760382b335eb5baff439c2983a50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL biotite-1.8.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 45.7 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1623f50da60e537ba1cd7b1ee3db5c6aceac2037d5f9844f03ee79ce9a8d16e4
BLAKE2b-256 checksum
How to use checksums
c7c586adb0b91269dc546bebdb8283c537723bd0eda78706b06093df39c53654
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL biotite-1.8.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 45.6 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
d36f6e8502135905404bb34684e7ea570b8ab60bee30f147317ed51fcfb8356f
BLAKE2b-256 checksum
How to use checksums
2bdfa1a670d8fbc0af7a16b43f45a1074432ead995f216bad133034cfeeb4bbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL biotite-1.8.0-cp313-cp313-macosx_11_0_arm64.whl
Size 43.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ba68d41503b88e6c1bc5fce1742fb16673ecd98b6c796d53653e9d8a972da707
BLAKE2b-256 checksum
How to use checksums
80c87e1b31a3b84fb5fd42554119eec9f1a87e28208b5a65ef38d90970e96a95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp312-cp312-win_amd64.whl

Download URL biotite-1.8.0-cp312-cp312-win_amd64.whl
Size 43.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
98020a2b21840b9326389184dba0427096328aeaf5c2ab604c7cebe5c44f6e49
BLAKE2b-256 checksum
How to use checksums
8d92f614815c4f29a5d734a4c053bd580ba87be9ebaec65e1f2d209e5fa3eace
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL biotite-1.8.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 45.7 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8dc766852f6eb2cc708da673f08d0de1991633247dbc82687617e148c67004e1
BLAKE2b-256 checksum
How to use checksums
0ff44fb4082ee8ecb4b5b9dd77936bcc9f221c739d15f68d0ff95918e674e124
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL biotite-1.8.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 45.6 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
6ec30437990db23f3c9f10296408effa81b885cc004a402bc87f86b4918a98dc
BLAKE2b-256 checksum
How to use checksums
6fe32df860f046541b17d45d643f1e1e2fddc625f2d2b424d64b7923036e4f7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / biotite-1.8.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL biotite-1.8.0-cp312-cp312-macosx_11_0_arm64.whl
Size 43.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
99a806321b5d043599c0cd88e00c68447699d554d31d5dd3b855d15c871f7e30
BLAKE2b-256 checksum
How to use checksums
a3397d63bc24e0300762241c070b2ecc4fd98054f8bdd0c691997cf3f28802ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.8.0 This release

17 release files

1.7.1

13 release files

1.6.0

21 release files

1.5.0

17 release files

1.2.0

17 release files

1.1.0

17 release files

1.0.0

13 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page