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.
Release files for mutalyzer-hgvs-parser 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mutalyzer_hgvs_parser-0.4.0.tar.gz | 26.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mutalyzer_hgvs_parser-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.9 kB
Release files / mutalyzer_hgvs_parser-0.4.0.tar.gz
| Download URL | mutalyzer_hgvs_parser-0.4.0.tar.gz |
|---|---|
| Size | 26.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d7530a047a4f39f1e929bde3920887b6abea58d574b6794e725b5ca53aab71e
|
|
BLAKE2b-256 checksum How to use checksums |
f868082242a7d8bf0535416df0c04a3e96d68bfc863060fe6a889ab4f0b56e87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / mutalyzer_hgvs_parser-0.4.0-py3-none-any.whl
| Download URL | mutalyzer_hgvs_parser-0.4.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
231a5456cb8ec94a81b9c1e17ff169f570cb7f1527061d8e9ad26438ce7ea00c
|
|
BLAKE2b-256 checksum How to use checksums |
8c41d0d44aef5f2a96d2474b19ef0dce542baed215fb0e55ce2a8e8877128609
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|