Skip to content

Commit

Permalink
fix CRISPR parser #299
Browse files Browse the repository at this point in the history
The assumed minimal length of CRISPR spacers was reduced from at least 10 down to at least 1 in the regex.
  • Loading branch information
oschwengers committed Jul 16, 2024
1 parent 560f926 commit eef3db8
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{2})\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})\s+)?([ATGCN]+)?\s+([ATGCN\.-]+)\s*(?:([ATGCN]+))?')


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

0 comments on commit eef3db8

Please sign in to comment.