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
File details
Details for the file mutalyzer_hgvs_parser-0.3.6.tar.gz
.
File metadata
- Download URL: mutalyzer_hgvs_parser-0.3.6.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 594f9fff4263fb8d2bc42b06776e854026ffbab8ea5fe72b6bb6bee119031130 |
|
MD5 | c2f7d50464c9514c69b87c2ffeb55e1e |
|
BLAKE2b-256 | 6d10b863a93974df067b076f372d23acece7cd393084d88dfa520632eea95d79 |
File details
Details for the file mutalyzer_hgvs_parser-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: mutalyzer_hgvs_parser-0.3.6-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49f968cee8737c715da138cc81c7b9bfff2091f2c0eaaa321d1dc66c924d8a0 |
|
MD5 | c2c5d3cf4c8b909094cb0fb0bc041406 |
|
BLAKE2b-256 | 6ef3c4cd29ca8335b251438b2728c7e5fca35bcf28a3e739c23e6fc107384ef4 |