Regular Expressions 101

Community Patterns

Parse alternative allele in VCF 4.1

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