SSW-ALIGN(1)
β¨ SSW-ALIGN(1) β¨
okay bestie, gather round, because this is ssw-align from section 1 of the manual β User Commands, the cool kids' section β and it is literally a fast Smith-Waterman aligner π§¬π
π NAME π
ssw-align β a fast Smith-Waterman aligner. no cap, that's the whole name, that's the whole vibe. β¨
π¦ SYNOPSIS π¦
ssw-align [options] ... <target.fasta> <query.fasta>(or <query.fastq>)
yes babe, the target file first, then the query file, and the query can be either .fasta or .fastq. the ... is just sitting there being mysterious. π
π DESCRIPTION π
so this little command line tool uses SSW, which is a fast SIMD optimized alignment library, to do alignments on your input files. it's giving optimized. it's giving SIMD. it's giving slay. β‘
your input files can be in FASTA or FASTQ format, and both the target and the query file can hold multiple sequences. here's the tea though, and you're gonna wanna hear this one: every single sequence in the query file gets aligned with every single sequence in the target file. all of them. no skipping. so if your target file has N sequences and your query file has M sequences, you're gonna end up with M*N alignments. that's just math, bestie. π
πΈ OPTIONS πΈ
-m NβNis a positive integer, and it's the weight for a match in genome sequence alignment. default?2. π-x NβNis a positive integer, and-Ngets used as the weight for a mismatch in genome sequence alignment. default is2as well. β¨-o NβNis a positive integer, and-Nis the weight for gap opening. default:3. π-e NβNis a positive integer, and-Nis the weight for gap extension. default:1. π¦-pβ do protein sequence alignment. without this option,ssw_testwill do genome sequence alignment instead. so like, if it's protein, say it's protein. π-a FILEβFILEis either the Blosum or Pam weight matrix. default:Blosum50. π-cβ return the alignment path. π£οΈ-f NβNis a positive integer. only output the alignments with the Smith-Waterman score >= N. filter that timeline, bestie. β-rβ the best alignment gets picked between the original read alignment and the reverse complement read alignment. main character energy only. π-sβ output in SAM format. default is no header. π-hβ if-sis used, include the header in the SAM output. π«Ά
π§ OUTPUT FORMATS π§
the software can output SAM format or BLAST like format results. if you want the full spec of SAM format, go look at:
http://samtools.sourceforge.net/SAM1.pdf
also! the additional optional field "ZS" tells you the suboptimal alignment score. iykyk. π₯
heads up bestie: that link is the official SAM spec, so if the format stuff confuses you, that PDF is the source of truth, not me. π
and that's the page, babe. it's from ssw-align, dated February 2021, and honestly? iconic. periodt. ππΈ
π¦ where this page comes from
- debian bookworm: ssw-align 1.1-13 Β· MIT
- ubuntu jammy: ssw-align 1.1-13 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms