Skip to main content
https://img.shields.io/github/last-commit/mutalyzer/backtranslate.svg https://github.com/mutalyzer/backtranslate/actions/workflows/python-package.yml/badge.svg https://readthedocs.org/projects/mutalyzer-backtranslate/badge/?version=latest https://img.shields.io/github/release-date/mutalyzer/backtranslate.svg https://img.shields.io/github/release/mutalyzer/backtranslate.svg https://img.shields.io/pypi/v/mutalyzer-backtranslate.svg https://img.shields.io/github/languages/code-size/mutalyzer/backtranslate.svg https://img.shields.io/github/languages/count/mutalyzer/backtranslate.svg https://img.shields.io/github/languages/top/mutalyzer/backtranslate.svg https://img.shields.io/github/license/mutalyzer/backtranslate.svg

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.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 mutalyzer-backtranslate 1.0.0
File Size Uploaded
mutalyzer_backtranslate-1.0.0.tar.gz 6.0 kB Details

Release files / mutalyzer_backtranslate-1.0.0.tar.gz

Download URL mutalyzer_backtranslate-1.0.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5b8e826fc6c77f8775bcc6cf869a826a765101ce1c9627630ce9b079e39590ec
BLAKE2b-256 checksum
How to use checksums
bebf41bcbb9a08e377afeeebdd120712eb283a021303e13a0c511f444c04042b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.1.4

2 release files

0.1.3

1 release file

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