Skip to content

Commit

Permalink
polish code
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Jul 16, 2024
1 parent eef3db8 commit 0090ebd
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 @@ -98,7 +98,7 @@ def predict_crispr(genome: dict, contigs_path: Path):
spacer_length = len(spacer_seq)
crispr_spacer = OrderedDict()
crispr_spacer['strand'] = bc.STRAND_UNKNOWN
crispr_spacer['start'] = position + repeat_length - gap_count
crispr_spacer['start'] = position + repeat_length - gap_count
crispr_spacer['stop'] = position + repeat_length + spacer_length - 1 - gap_count
crispr_spacer['sequence'] = spacer_seq
crispr_array['spacers'].append(crispr_spacer)
Expand Down

0 comments on commit 0090ebd

Please sign in to comment.