Skip to main content
.. image:: https://travis-ci.org/inodb/revmut.svg?branch=master
:target: https://travis-ci.org/inodb/revmut
REVertant MUTation find & verify (REVMUT)
=========================================
REVMUT can help to **find** and **verify** putative revertant mutations (PRMs). Common workflow is:

1. **Find** PRMs (deletions of given mutation, indels that restore the reading frame)
2. **Annotatote** PRMs with Oncotator to get transcript change of putative
revertant mutations in HGVS format
3. **Verify** if one of the transcript change in HGVS format is revertant by looking
how the length of the protein changes

There are scripts to do 1 and 3. Steps 2 might be added at a later stage in
development.

.. image:: img/revmut_overview.png

Installation
------------
::

pip install revmut

Find
----
The finding module takes a mutation and finds
PRMs that:

- Delete the entire given mutation
- Restore the reading frame in case the given mutation (GM) is an indel. The criterium is::

length(PRM) +/- length(GM) % 3 == 0

Run with::

revmut-find tests/test_data/human_g1k_v37_chr17.fa \
tests/test_data/germline_mutations/T1_test_mutation.tsv \
tests/test_data/T1.bam \
tests/test_data/N1.bam > tests/test_data/output/T1_test.tsv

View input/output files:

- `tests/test_data/germline_mutations/T1_test_mutation.tsv <tests/test_data/germline_mutations/T1_test_mutation.tsv>`_
- `tests/test_data/output/T1_test.tsv <tests/test_data/output/T1_test.tsv>`_


Annotate
--------
Annotation of the PRMs is currently done semi-manually with `Oncotator webserice <http://www.broadinstitute.org/oncotator/>`_. Perhaps at a later stage in development this will be done automatically. Missing is a VCF to Oncotator format converter.

Verify
------
Applies a given mutation in cDNA format to a transcript followed by the cDNA change of the PRM as predicted by Oncotator. Output gives a prediction of how the protein changes.

Run with::

revmut-verify tests/test_data/to_be_reverted_mutations.txt \
tests/test_data/oncotator.ins.txt \
tests/test_data/BRCA_transcripts.fa > tests/test_data/oncotator.ins.maf.out.tsv

View input/output files:

- `tests/test_data/to_be_reverted_mutations.txt <tests/test_data/to_be_reverted_mutations.txt>`_
- `tests/test_data/oncotator.ins.txt <tests/test_data/oncotator.ins.txt>`_
- `tests/test_data/oncotator.ins.maf.out.tsv <tests/test_data/oncotator.ins.maf.out.tsv>`_

Developers
----------
Tests
~~~~~
In root dir run::

nosetests

Metadata

Release files for revmut 0.3.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 revmut 0.3.0
File Size Uploaded Provenance Actions
revmut-0.3.0.tar.gz 23.4 kB Without provenance Details for revmut-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for revmut 0.3.0
File Interpreter ABI Platform Actions
revmut-0.3.0-py2-none-any.whl Python 2 none any Details for revmut-0.3.0-py2-none-any.whl

Total release size: 35.0 kB

Release files / revmut-0.3.0.tar.gz

Download URL revmut-0.3.0.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f3d8eb69c92f0494533d9c66660ccff8ada817e63f1dbfdc2074956b995cda2c
BLAKE2b-256 checksum
How to use checksums
290821b1c2ff70c071ed2166febfbe803016e4c7131f63bbf061345ee61741f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / revmut-0.3.0-py2-none-any.whl

Download URL revmut-0.3.0-py2-none-any.whl
Size 11.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
c338e170077f01cbbed27d957c7406f68f075b2816ee147a93bde6500db3a88d
BLAKE2b-256 checksum
How to use checksums
d67d87c9f5fdfc8edbaa7bc7111ed4a7b049bfa762090f5314b6dd48a0157efd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for revmut 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

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