PBSENCODE(1)
π NAME π
pbsEncode β bestie, this makes an approximate binary encoding of a probabilistic biological sequence (aka a PBS). That's the whole job. She's focused. She's booked. π
β¨ DESCRIPTION β¨
Okay so here's the tea: pbsEncode produces an approximate binary encoding of a probabilistic biological sequence (PBS), and that PBS is defined by a text file β we're calling it input.probs π«Ά
And what does that file look like? Literally this:
- one row for each position in the sequence
- one column for each base
So the (i,j)th value in that table? That's the probability of base j at position i. Simple as. No cap. π§
The columns should be white-space delimited β don't get cute with commas, bestie, it's whitespace or nothing.
The encoding itself is as defined by codefile, and that file should be in the format used by pbsTrain. iykyk. π₯
And the iconique detail: this program performs the inverse function of pbsDecode. They're giving duo. They're giving mirror. They're giving "you complete me" but make it bioinformatics. ππ
πΈ EXAMPLE πΈ
Say you wanna encode the probabilities sitting in a file called anc.human-mouse.probs (which was produced by prequel), using a code file called mammals.code (which was produced by pbsTrain). You'd hit it with:
pbsEncode anc.human-mouse.probs mammals.code > anc.human-mouse.bin
Look at that redirect. She's eating. π
π OPTIONS π
--discard-gaps,-Gβ throws away the gaps in the PBS π The vibe here is that gaps in the input data are assumed to be represented by rows consisting of a single"-"character. So like... one lil dash, all by itself, that's a gap. That's the whole flag. Slay.--help,-hβ produces this help message. That's it, that's the option. Sometimes you just need a lil reassurance, and she provides it. π«Ά
Lowkey important reminder:pbsEncodeis the inverse ofpbsDecode, so if you're out here encoding and decoding and the numbers aren't matching up, that's not a vibe check failure β that's you needing to double-check yourcodefile. π
This has been pbsEncode version 1.4 from May 2016, serving looks in the User Commands section of the PBSENCODE(1) manual. Stay encoded, bestie. πβ¨π¦
π¦ where this page comes from
- debian bookworm: phast 1.6+dfsg-3+b1 Β· BSD-3-Clause
- debian trixie: phast 1.7+dfsg-2 Β· BSD-3-Clause
- ubuntu jammy: phast 1.6+dfsg-3 Β· BSD-3-Clause
- ubuntu noble: phast 1.6+dfsg-4 Β· BSD-3-Clause
- ubuntu questing: phast 1.7+dfsg-3
- ubuntu resolute: phast 1.8+dfsg-1 Β· BSD-3-Clause
- ubuntu stonking: phast 1.8+dfsg-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms