Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
use aligned_sequence.slice where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Sep 27, 2023
1 parent 189e5f9 commit f8e578e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/find_orf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def find_candidate_positions(aligned_sequence, e):
name=e.name,
start=closest_start,
end=closest_end,
nucleotides=str(aligned_sequence.this.seq[closest_start:(closest_end + 1)]),
nucleotides=str(aligned_sequence.slice(closest_start, closest_end).this.seq),
aminoacids=got_aminoacids,
protein=got_protein,
deletion_tolerence=e.deletion_tolerence,
Expand Down

0 comments on commit f8e578e

Please sign in to comment.