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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1c03ff3dc115eeae9d77ab948304f0d155dee5fce32919f2521860b71cffc8 |
|
MD5 | 7bb6549c1da403a6df5d8ab1a185bb8b |
|
BLAKE2b-256 | 530a6088a6591e99c543fb71414048a55ab43a49a279871faaa506677d2e4f4b |
Close
Hashes for mutalyzer_hgvs_parser-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98e3fcbff104e880a3af5bd10929216ffe41f694d7563bf5d8b50c5ad9e9a76 |
|
MD5 | 198cd4443b5690b952db057b04ebebad |
|
BLAKE2b-256 | bd898143c73842f567873c5be72d20e412e1bc98d2d1051eb0d33ada071738d5 |