Skip to content

Commit

Permalink
relaxe CRISPR spacer length regex to 1 or 2 digits
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Jul 16, 2024
1 parent 0090ebd commit e605b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bakta/features/crispr.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import bakta.utils as bu


RE_CRISPR = re.compile(r'(\d{1,8})\s+(\d{2})\s+(\d{1,3}\.\d)\s+(?:(\d{1})\s+)?([ATGCN]+)?\s+([ATGCN\.-]+)\s*(?:([ATGCN]+))?')
RE_CRISPR = re.compile(r'(\d{1,8})\s+(\d{2})\s+(\d{1,3}\.\d)\s+(?:(\d{1,2})\s+)?([ATGCN]+)?\s+([ATGCN\.-]+)\s*(?:([ATGCN]+))?')


log = logging.getLogger('CRISPR')
Expand Down

0 comments on commit e605b8a

Please sign in to comment.