Regular Expressions 101

Community Patterns

prokka genbank inference tag parsing

0

Regular Expression
PCRE (PHP <7.3)

/
\s+\/inference=".+\n[^\/\n]+\n[^\/\n]?\n?\s+\/codon_start=.+
/
g

Description

where the inference line is long, it becomes multi-line and can't be parsed by biopython; need to re-write as single line

Submitted by anonymous - 7 years ago