TFBS::Word(3pm)

🌸 TFBS::Word 🌸

okay bestie, welcome to TFBS::Word(3pm) β€” part of the User Contributed Perl Documentation, and honestly? iconic behavior.


✨ NAME ✨

TFBS::Word β€” the base class for word-based patterns πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

so TFBS::Word is a base class, right? it's got two jobs and it does both flawlessly:

  • it's the universal constructor that all its subclasses β€” hey TFBS::Matrix::* πŸ‘‹ β€” call up when they need to be born
  • plus it's got all the word pattern manipulation methods that work no matter what type of word you're dealing with. type-independent, periodt πŸ’…
⚠️ but listen: it is not meant to be instantiated itself. it's the mother, not the baby. do not new this one directly, bestie, I'm begging πŸ™ˆ

πŸŽ€ FEEDBACK πŸŽ€

found a bug? got thoughts? got feelings? send bug reports and other comments to the author 🫢 don't be shy.


πŸ‘‘ AUTHOR - Boris Lenhard πŸ‘‘

Boris Lenhard β€” <Boris.Lenhard@cgb.ki.se> ✨

(we stan, we respect, we send our bug reports directly πŸ’œ)


🌈 APPENDIX 🌈

the rest of this doc breaks down each of the object methods one by one, no skips, no crumbs. and heads up: internal methods are preceded with an underscore β€” if you see a _, that's ✨ private business ✨, iykyk.

🧚 new

the constructor, babes 🌱

πŸ“ word

the word itself, fr fr 🌸

πŸ’… validate_word

Required in all subclasses β€” no cap, every single subclass has gotta bring this one or it simply doesn't count πŸ’€

⭐ length

the length, obviously ✨

πŸ”₯ search_seq

search a sequence, slay πŸ”

πŸ¦‹ search_aln

search an alignment, also slay 🧬


and that's the whole vibe, bestie πŸ’– this was TFBS::Word(3pm), perl v5.42.3, dated 2026-08-21 β€” go forth, call the subclasses, and never instantiate the base class itself. mwah πŸ˜˜πŸ‘‘

πŸ“¦ where this page comes from