https://github.com/ccwang002/pyhgvs-lite
A liteweight Python parser for HGVS names
https://github.com/ccwang002/pyhgvs-lite
hgvs lark-parser parser
Last synced: 8 months ago
JSON representation
A liteweight Python parser for HGVS names
- Host: GitHub
- URL: https://github.com/ccwang002/pyhgvs-lite
- Owner: ccwang002
- License: other
- Created: 2020-04-10T04:11:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-10T16:21:03.000Z (about 6 years ago)
- Last Synced: 2025-03-11T07:15:17.977Z (over 1 year ago)
- Topics: hgvs, lark-parser, parser
- Language: Python
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
## PyHGVS-lite
A Python parser for HGVS names using [Lark] and EBNF grammar.
Its goal is to achieve efficient parsing LALR(1) and works on pypy 3+ as well.
The package is heavily inspired by the following works:
- [biocommons/hgvs] HGVS grammar ([`hgvs.pymeta`]) under Apache License 2.0
Other existing works:
-
-
[Lark]: https://github.com/lark-parser/lark
[biocommons/hgvs]: https://github.com/biocommons/hgvs/
[`hgvs.pymeta`]: https://github.com/biocommons/hgvs/blob/1d5a47fd0ac2c657510077d672a369469e05256d/hgvs/_data/hgvs.pymeta