Skip to content
Merged
Show file tree
Hide file tree
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added for_pypi_upload/seq_smith-0.1.0.tar.gz
Binary file not shown.
4 changes: 4 additions & 0 deletions seq_smith/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
local_global_align_many,
overlap_align,
overlap_align_many,
top_k_ungapped_local_align,
top_k_ungapped_local_align_many,
)
from .python_utils import decode, encode, format_alignment_ascii, generate_cigar, make_score_matrix

Expand All @@ -30,4 +32,6 @@
"make_score_matrix",
"overlap_align",
"overlap_align_many",
"top_k_ungapped_local_align",
"top_k_ungapped_local_align_many",
]
17 changes: 17 additions & 0 deletions seq_smith/_seq_smith.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,20 @@ def overlap_align_many(
gap_extend: int,
num_threads: int | None = None,
) -> list[Alignment]: ...
def top_k_ungapped_local_align(
seqa: bytes,
seqb: bytes,
score_matrix: npt.NDArray[np.int32],
k: int,
filter_overlap_a: bool = True,
filter_overlap_b: bool = True,
) -> list[Alignment]: ...
def top_k_ungapped_local_align_many(
seqa: bytes,
seqbs: Sequence[bytes],
score_matrix: npt.NDArray[np.int32],
k: int,
num_threads: int | None = None,
filter_overlap_a: bool = True,
filter_overlap_b: bool = True,
) -> list[list[Alignment]]: ...
Loading
Loading