Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing properties to AlignedSegment type stubs #1273

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pysam/libcalignedsegment.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@ class AlignedSegment:
is_proper_pair: bool
is_unmapped: bool
mate_is_unmapped: bool
is_mapped: bool
mate_is_mapped: bool
is_reverse: bool
mate_is_reverse: bool
is_forward: bool
mate_is_forward: bool
is_read1: bool
is_read2: bool
is_secondary: bool
Expand Down Expand Up @@ -121,6 +125,10 @@ class AlignedSegment:
@property
def query_alignment_end(self) -> int: ...
@property
def modified_bases(self) -> Optional[Dict[Tuple[str, int, str], List[Tuple[int, int]]]]: ...
@property
def modified_bases_forward(self) -> Optional[Dict[Tuple[str, int, str], List[Tuple[int, int]]]]: ...
@property
def query_alignment_length(self) -> int: ...
def infer_query_length(self) -> Optional[int]: ...
def infer_read_length(self) -> Optional[int]: ...
Expand Down
Loading