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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mutalyzer_hgvs_parser-0.3.9.tar.gz.
File metadata
- Download URL: mutalyzer_hgvs_parser-0.3.9.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0bf2b578ac9050f4ce45e8dc4ba67161ace8dd1cb4a1a2127d4c99622581ac8
|
|
| MD5 |
dbbaf56584f5fd6605970eef0f3a4f55
|
|
| BLAKE2b-256 |
0f24faf4f9751ff0938a745ca1adb83d739eba53888eb6a527611dd3791258ed
|
File details
Details for the file mutalyzer_hgvs_parser-0.3.9-py3-none-any.whl.
File metadata
- Download URL: mutalyzer_hgvs_parser-0.3.9-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
938274153c3808a82e798313c0bd864049f0e67d5a4d4e6bc40363933240e3d1
|
|
| MD5 |
5566b4cd9aa6bd9b39e464e54b76e925
|
|
| BLAKE2b-256 |
9c57b9c60791bf266d8009c8539413844d0497ac368e7725a596ac6004de0a9d
|