Bio::T...rofile(3pm)

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

πŸ’– Bio::T...rofile(3pm) πŸ’–

okay bestie, this one lives in the User Contributed Perl Documentation section of your man pages, and it's the whole tea on Bio::Tools::PSort::Profile β€” the Perl implementation of the Profile protein subcellular localization method. slay. let's get into it 🧚


✨ NAME ✨

Bio::Tools::PSort::Profile β€” a Perl implementation of the Profile protein subcellular localization method. it does exactly what it says on the tin, no cap πŸ’…


🌸 SYNOPSIS 🌸

use Bio::Tools::PSort::Profile;

# Load a previously trained profile from a file.
$motif = new Bio::Tools::PSort::Profile(-database => 'profile-db.txt');

# Attempt to match on a Bio::Seq object.
@matches = $motif->match($seq);
print($seq->display_id . ": matched " . $_->profile_id . "\n") for(@matches);

look at that. load a trained profile from a file, throw a Bio::Seq at it, print the matches. the way that $_->profile_id just works 😭 iconic


πŸ¦‹ DESCRIPTION πŸ¦‹

Bio::Tools::Motif uses a selection of motifs that have been identified to be typical of proteins resident at a specific subcellular localization.

so here's the vibe: the module takes a Bio::Seq object and tries to match it against a database. if it succeeds, it hands you back one or more Bio::Tools::Motif::Match objects with the prediction information inside. that's the whole plot, and honestly? it ate. πŸ”₯


πŸŽ€ CONSTRUCTOR πŸŽ€

$motif = new Bio::Tools::Motif(-database => 'motif-db.txt');

the Motif constructor accepts the name of an existing database file. that's it, that's the whole job. point it at your file and go πŸ’–


⭐ METHODS ⭐

@matches = $motif->match($seq);

the match method accepts a Bio::Seq object as an argument and returns an array of Bio::Tools::Motif::Match objects that matched the given sequence. main character method energy fr fr πŸ‘‘


🌈 AUTHOR 🌈

Fiona Brinkman, Chris Walsh, Matthew Laird <psort-mail@sfu.ca> β€” Brinkman Lab, Simon Fraser University, Canada. shoutout to the whole lab, they understood the assignment πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

  • Bio::Tools::Motif::Pattern
  • Bio::Tools::Motif::Match

go read those too, iykyk 🫢


πŸ’« ACKNOWLEGEMENTS πŸ’«

(yes bestie, that's how the original spells it β€” we don't touch the spelling, we just respect it πŸ’…)

thanks go out to Fiona Brinkman, Jennifer Gardy and the other members of the Simon Fraser University Brinkman laboratory. literal legends, no notes 🌸


πŸ’€ POD ERRORS πŸ’€

not me having to report this 😭 but the doc had some coding errors, and here's what they were:

  • Around line 99:
    • =pod directives shouldn't be over one line long! Ignoring all 2 lines of content

so yeah, two whole lines of content got ignored because of a =pod directive stretching past one line. we move on, we heal, we fix the pod next time 🩹


that's the whole page bestie, every option, every arg, every last detail β€” nothing skipped, nothing invented. periodt. πŸŽ€βœ¨πŸ¦‹

β€” written up for perl v5.34.0, dated 2022-02-06 πŸ’– (that's the version and date from the original footer, in case you were wondering β€” mwah, bye!)

πŸ“¦ where this page comes from