semvec/pypi-packages huggingface dataset:
mutalyzer-backtranslate 1.0.0
Functions for reverse translation.
License: MIT
Keywords: bioinformatics

Back translation
================

.. image:: https://img.shields.io/github/last-commit/mutalyzer/backtranslate.svg
   :target: https://github.com/mutalyzer/backtranslate/graphs/commit-activity
.. image:: https://github.com/mutalyzer/backtranslate/actions/workflows/python-package.yml/badge.svg
   :target: https://github.com/mutalyzer/backtranslate/actions/workflows/python-package.yml
.. image:: https://readthedocs.org/projects/mutalyzer-backtranslate/badge/?version=latest
   :target: https://mutalyzer-backtranslate.readthedocs.io/en/latest
.. image:: https://img.shields.io/github/release-date/mutalyzer/backtranslate.svg
   :target: https://github.com/mutalyzer/backtranslate/releases
.. image:: https://img.shields.io/github/release/mutalyzer/backtranslate.svg
   :target: https://github.com/mutalyzer/backtranslate/releases
.. image:: https://img.shields.io/pypi/v/mutalyzer-backtranslate.svg
   :target: https://pypi.org/project/mutalyzer-backtranslate/
.. image:: https://img.shields.io/github/languages/code-size/mutalyzer/backtranslate.svg
   :target: https://github.com/mutalyzer/backtranslate
.. image:: https://img.shields.io/github/languages/count/mutalyzer/backtranslate.svg
   :target: https://github.com/mutalyzer/backtranslate
.. image:: https://img.shields.io/github/languages/top/mutalyzer/backtranslate.svg
   :target: https://github.com/mutalyzer/backtranslate
.. image:: https://img.shields.io/github/license/mutalyzer/backtranslate.svg
   :target: https://raw.githubusercontent.com/mutalyzer/backtranslate/master/LICENSE.md

----

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.

.. code:: python

    >>> from mutalyzer_backtranslate import BackTranslate
    >>> bt = BackTranslate()

An amino acid change from a Leucine to a Phenylalanine can be explained by five
substitutions.

.. code:: python

    >>> 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.

.. code:: python

    >>> bt.with_dna('CTT', 'F')
    {0: {('C', 'T')}}


.. _ReadTheDocs: https://mutalyzer-backtranslate.readthedocs.io
loafang 0.2.0
A JSON based RESTapi Query Language.
License: MIT
Requires Python: >=3.7.1

# Loafang

[![GitHub](https://img.shields.io/github/license/Adwaith-Rajesh/loafang?style=for-the-badge)](LICENSE)
[![PyPI](https://img.shields.io/pypi/v/loafang?color=light&style=for-the-badge)](https://pypi.org/project/loafang/)
[![Azure DevOps builds (branch)](https://img.shields.io/azure-devops/build/adwaithrajesh/8d11fcc8-9bf7-41cf-95af-bd240456c13e/9/master?label=azure%20pipelines&style=for-the-badge)](https://dev.azure.com/adwaithrajesh/adwaith/_build?definitionId=9)

A JSON based RESTapi Query Language. It's mainly for small to intermediate sized project.

## Motivation

- I'm bored.
- I needed a smaller version of graphql.
- It's fun to do something like this

## Why name it Loafang

If you google the synonyms for 'rest' one of the result is 'loaf' or 'loafing'. Now, where do you see the word 'rest', 'REST API' and it's more of a language kind of thing so
'loafang' makes sense

## An example Schema

```json
{
	"GET:get-user:pe": {
		"user --name adwaith --age 10": ["username", "email_address"]
	},
	"PUT:up-user": {
		"user --name some-user": {
			"email": "new_email@address.com"
		},
		"after": "get-user"
	}
}
```

For more docs visit: [https://adwaith-rajesh.github.io/loafang/](https://adwaith-rajesh.github.io/loafang/)

## Road Map

- [x] Things kind of works
- [x] Make an easier API for the user to use.
- [ ] More tests