Bio::G...s::Util(3pm)

πŸ“¦
version 2.40 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

Bio::Graphics::Util β€” non-object-oriented utilities used in Bio::Graphics modules 🧚✨

(ok so the top of this page is labeled Bio::G...s::Util(3pm) and it lives in the 3pm manual section, just fyi bestie πŸŽ€)


πŸ¦‹ the one function on this page πŸ¦‹

  • ($frame,$offset) = frame_and_offset($pos,$strand,$phase)

This one's the whole main character of the page, periodt. You hand it a genomic position, a strand and a phase, and it works out the reading frame for you. And the $offset? That's the offset from $pos all the way to the first nucleotide of the reading frame. 🧬✨

πŸ’€ heads up bestie: in a scalar context, it gives you back the frame only β€” no $offset, no second value, just the one. So if you were expecting a lil pair, don't be in scalar context, iykyk πŸ™ˆ

that's literally it, the whole module, short and iconic πŸ’…

This page is User Contributed Perl Documentation, hanging out with perl v5.30.0 and stamped 2019-11-25 β€” so like, a lil vintage but still slaying fr fr 🫢🌸 bye bestie, go compute some frames πŸ’–

πŸ“¦ where this page comes from