Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^([acgtnACGTN]+)$|^<(INS|DEL|DUP|INV|CNV|DUP:TANDEM|INS:NOVEL|INS:ME|DEL:ME)>$
/
gm

Description

Parse the ALT field (alternative allele) in VCF 4.1 format

Submitted by panagiotis moulos - 6 years ago