Back translation
This library provides functions for back translation of amino acid changes to nucleotide changes.
Features:
Support for all known codon tables.
Back translation of amino acid changes using codon reference information.
Back translation of amino acid changes using amino acid reference information.
Function to determine all amino acid substitutions of which the back translation can be improved by adding codon information.
Please see ReadTheDocs for the latest documentation.
Quick start
The BackTranslate class provides functionality for back translation.
>>> from mutalyzer_backtranslate import BackTranslate
>>> bt = BackTranslate()
An amino acid change from a Leucine to a Phenylalanine can be explained by five substitutions.
>>> bt.without_dna('L', 'F')
{2: {('A', 'T'), ('A', 'C'), ('G', 'C'), ('G', 'T')}, 0: {('C', 'T')}}
If codon information is present, the same substitution can only be explained by one substitution.
>>> bt.with_dna('CTT', 'F')
{0: {('C', 'T')}}
Metadata
Release files for mutalyzer-backtranslate 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| mutalyzer_backtranslate-1.0.1.tar.gz | 7.0 kB | With provenance | Details for mutalyzer_backtranslate-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mutalyzer_backtranslate-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for mutalyzer_backtranslate-1.0.1-py3-none-any.whl |
Total release size: 14.6 kB
Release files / mutalyzer_backtranslate-1.0.1.tar.gz
| Download URL | mutalyzer_backtranslate-1.0.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42dbb6eb8a1aa816981aff480309e8bbd1fe44ad18d92e7f349b1586f2d61b32
|
|
BLAKE2b-256 checksum How to use checksums |
a5a29abb12c0b42398ae6ab11b208df17de0184ee505ccb0f9d06f68f60525f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 21, 2026.
Transparency logRelease files / mutalyzer_backtranslate-1.0.1-py3-none-any.whl
| Download URL | mutalyzer_backtranslate-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bb4aa48374a0c8f212531dfe436fa825381ac3a1a6fe5c985fbfc31910fedc3
|
|
BLAKE2b-256 checksum How to use checksums |
fef7695f86d10001b34e7ac595ae98e17ddc280b6ede348a00d7b05e6af75518
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 21, 2026.
Transparency logSecurity for mutalyzer-backtranslate 1.0.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mutalyzer_backtranslate-1.0.1.tar.gz
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 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.