Ssw
Python interface for SIMD Smith-Waterman Library
Install / Use
/learn @vishnubob/SswREADME
#SSW: A Python Wrapper for the SIMD Smith-Waterman
Overview
SSW is a fast implementation of the Smith-Waterman algorithm, which uses the Single-Instruction Multiple-Data (SIMD) instructions to parallelize the algorithm at the CPU level. This repository wraps the SSW library into an easy to install, high-level python interface with no external library dependancies.
The SSW library is written by Mengyao Zhao and Wan-Ping Lee, and this python interface is maintained by Giles Hall.
Installation
To install the SSW python package, use pip:
$ pip install ssw
Example Usage
import ssw
aligner = ssw.Aligner()
alignment = aligner.align(reference="ACGTGAGAATTATGGCGCTGTGATT", query="ACGTGAGAATTATGCGCTGTGATT")
print(alignment.alignment_report())
Score = 45, Matches = 24, Mismatches = 0, Insertions = 0, Deletions = 1
ref 1 ACGTGAGAATTATGGCGCTGTGATT
||||||||||||| |||||||||||
query 1 ACGTGAGAATTAT-GCGCTGTGATT
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
