An open API service indexing awesome lists of open source software.

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

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