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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a2cbe69765ddf001bc8e5ee8cfb5c4f84c273c1d9092270647af70925b687f |
|
MD5 | 913eb39308b10b26699bd3e76208c3e3 |
|
BLAKE2b-256 | 723e9c7d317c09ab5923ecc10d45e5c38b48c7e9996ce9c2fda318ee891c66c0 |
Close
Hashes for mutalyzer_hgvs_parser-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9c1d774943965cd546197c689f97c81e12f8c666e7d8a72ae8f1f06e147800 |
|
MD5 | 73af14974ee681019ec21fbb908f741f |
|
BLAKE2b-256 | ce5ccde146e874f90119707444c01504e9109d2f0655106635ad666285d8f54f |