Mutalyzer HGVS variant description parser.
Project description
Package to syntax check and convert Mutalyzer HGVS variant descriptions into a dictionary model to easily access descriptions information in a programmatically manner.
Features:
Accepts HGVS descriptions with multiple variants (one HGVS allele).
Any description sub-part can be parsed and converted as well.
Supports common deviations to the HGVS guidelines.
Command line and library interfaces available.
Quick start
Parse and convert a description from the command line:
$ mutalyzer_hgvs_parser -c "NG_012337.1:c.20del"
{
"reference": {
"id": "NG_012337.1"
},
"coordinate_system": "c",
"variants": [
{
"location": {
"type": "point",
"position": 20
},
"type": "deletion",
"source": "reference"
}
]
}
The to_model() function can be used for the same purpose:
>>> from mutalyzer_hgvs_parser import to_model
>>> model = to_model("NG_012337.1:c.20del")
>>> model['reference']
{'id': 'NG_012337.1'}
Please see ReadTheDocs for the latest documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for mutalyzer_hgvs_parser-0.3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cabd8ad0db5fd746c591590ad8c462b5b616ce0b5e35e74703c56af54c7dbce |
|
MD5 | fa9e94b2bbec2ead11804e44c42e561f |
|
BLAKE2b-256 | 81697cbe0e1a213b21f304bc3fe06cbfbf3ad49bd876f55844402bf9ead1abf1 |
Close
Hashes for mutalyzer_hgvs_parser-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2dab2ffeccf74d2e6d7c4c369d3af08f69903fee5504db02ee1e5817dfb418a |
|
MD5 | 60f5e06779924b7146fe2f34f66c7092 |
|
BLAKE2b-256 | 00d28342904d75657f68b8dc611759e94ae251b239d9805cd876189069588c26 |