Algori...Report(3pm)

πŸ“¦
version 3.0.6 Β· 4 versions
, in ubuntu jammy

✨ NAME ✨

Algorithm::HMM::Report β€” the report object for the Algorithm::HMM package, and honestly? she's the moment. πŸ’–


🌸 DESCRIPTION 🌸

okay so bestie, here's the tea πŸ“: the Algorithm::HMM::Report object is literally what the Algorithm::HMM search method hands back to you. It's giving ✨receipts✨ β€” it holds the sets of global hits and domain hits that the model returned. That's it, that's the whole vibe. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

# Search the HMM model.  An Algorithm::HMM::Report object is returned.
my $rep = $hmm->search("AAIELKBPOWELKQJPASDLKJIGE");

# Get all the global hits from the report object.
my @ghits = $rep->global_hits();

# Get all the domain hits from the report object.
my @dhits = $rep->domain_hits();

like, run the search, get a report, pull the hits out. no cap, it's that simple. πŸ’…


πŸ’œ METHODS πŸ’œ

my @ghits = $rep->global_hits();
my @dhits = $rep->domain_hits();

okay so both of these return lists, and the way that they do it is iconic:

  • global_hits() gives you back a list of Algorithm::HMM::Hit::Global objects. A global hit = a match across the entire model. main character energy, full-length slay. πŸ‘‘
  • domain_hits() gives you back a list of Algorithm::HMM::Hit::Domain objects. A domain hit = a match on a smaller subsequence of the model. a lil cameo appearance, but she still ate. πŸŽ€

so like: global = the whole model matched, domain = just a slice of the model matched. iykyk 🧚


🌈 AUTHOR 🌈

The Algorithm::HMM package was originally written by Cory Spencer <cspencer@sfu.ca> of the Simon Fraser University Brinkman Laboratory. 🏫✨

It is currently maintained by Matthew Laird <matt@brinkman.mbb.sfu.ca>. 🫢


⭐ SEE ALSO ⭐

  • Algorithm::HMM
  • Algorithm::HMM::Hit::Global
  • Algorithm::HMM::Hit::Domain

go read those next bestie, they're all connected, it's a whole cinematic universe 🍿


perl v5.34.0 Β· 2022-02-06 β€” that's the version and date this lil page shipped with, mwah πŸ’‹ thanks for reading, go slay some HMM searches πŸ¦‹πŸ’–πŸ‘‘

πŸ“¦ where this page comes from