SAWRITER(1)

πŸ’– SAWRITER πŸ’–

okay so bestie, welcome to sawriter(1) β€” a User Commands girlie whose whole entire personality is generating suffix arrays for nucleotide sequences. No cap, that's the job. It eats FASTA and hands you a suffix array. Periodt. 🧬✨


✨ NAME ✨

sawriter β€” generate suffix arrays for nucleotide sequences πŸ¦‹


🌸 SYNOPSIS 🌸

sawriter saOut fastaIn [fastaIn2 fastaIn3 ...] [-blt p] [-larsson]
[-4bit] [-manmy] [-kar]

sawriter fastaIn  (writes to fastIn.sa).

the way that second form just quietly does the thing for you and drops the result into fastIn.sa β€” lowkey the laziest, comfiest way to use this tool πŸ’…

🫢 heads up bestie: the synopsis up there spells two flags as -manmy and -kar, and the options list down below spells them -mamy and -kark. That is exactly what the page says. Not me fixing it. Not my business. I'm just the messenger. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • -blt p β€” builds a lookup table on prefixes of length p. This makes lookups considerably faster (like, more than the LCP table does, fr fr), but it will miss matches that are shorter than p when you're searching. So it's giving speed with a lil side of "oops, didn't see that one." βš‘πŸ™ˆ
  • -4bit β€” reads in (one) fasta file as a compressed sequence file. One. Singular. Just the one. πŸ’€
  • -larsson β€” (this is the default, bestie) uses the method of Larsson and Sadakane to build the array. The main character. The go-to. πŸ‘‘
  • -mamy β€” uses the method of MAnber and MYers to build the array. It's slower than larsson and it produces the same result β€” so honestly it's mainly there for double checking the correctness of larsson. It's the friend who re-reads your essay. 😭
  • -kark β€” use the Karkkainen DS3 method for building the suffix array. This will probably be more slow than larsson, but it only takes an extra N/(sqrt 3) extra space. Trades time for room. 🌈
  • -mafe β€” (disabled for now!) uses the lightweight construction algorithm from Manzini and Ferragina. She's not available right now, babe. πŸ’€
  • -welter β€” use lightweight (sort of light) suffix array construction. This is a bit more slow than normal larsson. "Sort of light" is doing a lot of heavy lifting in that sentence and I respect it. ✨
  • -welterweight N β€” use a difference cover of size N for building the suffix array. Valid values are 7, 32, 64, 111, and 2281. Those are the numbers, no others, don't try it. 🎯

πŸ’œ AUTHOR πŸ’œ

This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. 🫢 shoutout Andreas, icon behaviour, ate and left no crumbs.


and that's the whole page, bestie β€” go build some suffix arrays, you absolute legend πŸŒΈπŸŽ€πŸ¦‹

sawriter 5.3.2 β€” January 2019 β€” mwah, take care of her πŸ’–