import: improved genbank parser and switch to version 3.0.0b42

This commit is contained in:
Celine Mercier
2021-02-17 15:26:35 +13:00
parent fda0edd0d8
commit fbf0f7dfb6
2 changed files with 3 additions and 3 deletions

View File

@ -22,10 +22,10 @@ from libc.stdlib cimport free, malloc, realloc
from libc.string cimport strcpy, strlen
_featureMatcher = re.compile(b'^FEATURES.+\n(?=ORIGIN)',re.DOTALL + re.M)
_featureMatcher = re.compile(b'^FEATURES.+\n(?=ORIGIN )',re.DOTALL + re.M)
_headerMatcher = re.compile(b'^LOCUS.+(?=\nFEATURES)', re.DOTALL + re.M)
_seqMatcher = re.compile(b'ORIGIN.+(?=//\n)', re.DOTALL + re.M)
_seqMatcher = re.compile(b'ORIGIN .+(?=//\n)', re.DOTALL + re.M)
_cleanSeq1 = re.compile(b'ORIGIN.+\n')
_cleanSeq2 = re.compile(b'[ \n0-9]+')
_acMatcher = re.compile(b'(?<=^ACCESSION ).+',re.M)

View File

@ -1,5 +1,5 @@
major = 3
minor = 0
serial= '0b41'
serial= '0b42'
version ="%d.%d.%s" % (major,minor,serial)