Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^(?P<NM>NM_[0-9]+[\.0-9]*)(?P<HGNC>\(.+\)){0,1}:c.(?P<CDOT>[0-9_]*)(?P<MUT>(?P<KIND>(?P<REF>[ATGC]+)|del|ins)(?P<CHANGE>(?(REF)>|)(?P<SUB>(?(REF)[ATGC]+|[ATGC]*))))$
"
g

Description

HGVS Nomenclature Check for ClinVar Submissions

Submitted by anonymous - a year ago (Last modified a year ago)