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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e8c9df13228eab158b680557de01b74a62d53508f7e798ce4b8e0630acecde3 |
|
MD5 | 3d37011bec5ba18a0e17efd7143eaca8 |
|
BLAKE2b-256 | 17f3e23193cc1c4d09dd46f6a75a0cb252a160fedaba1fed1428b76771267e8a |
Close
Hashes for mutalyzer_hgvs_parser-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9693a47b9a0b45cdee227209f9ec5f2574d7cd029a4ab9c1c3bf081c0b31fb83 |
|
MD5 | 90fb06573b764a562a30b76e663f2d8f |
|
BLAKE2b-256 | 66554831108ee23113f6b2376f45012183e428e6bc7d3d73f5a98235fd3fe1a6 |