Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yfarjoun committed Sep 19, 2024
1 parent 5709d98 commit 6ab8245
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions fgpyo/sam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,7 @@ def length_on_target(self) -> int:
return sum([elem.length_on_target for elem in self.elements])

def get_query_alignment_offsets(self, reverse: bool = False) -> Optional[range]:
"""
Get the 0-based, end-exclusive positions of the first and last aligned base in the query.
"""Gets the 0-based, end-exclusive positions of the first and last aligned base in the query.
The resulting range will contain the range of positions in the SEQ string for the bases
that are aligned. If no bases are aligned, the return value will be None.
Expand All @@ -560,10 +559,10 @@ def get_query_alignment_offsets(self, reverse: bool = False) -> Optional[range]:
Returns:
A range, defining the start and stop offsets of the aligned part
of the query. These offsets are 0-based and open-ended, with respect to the
beginning of the query. (If 'reverse' is True, the offsets are with
respect to the reversed query.)
If no bases are aligned, the return value will be None.
of the query. These offsets are 0-based and open-ended, with respect to the
beginning of the query. (If 'reverse' is True, the offsets are with
respect to the reversed query.)
If no bases are aligned, the return value will be None.
"""
# breaking the build
start_offset: int = 0
Expand Down

0 comments on commit 6ab8245

Please sign in to comment.