Bio::M...ceSiteI(3pm)
β¨ Bio::Matrix::PSM::InstanceSiteI π
okay bestie, welcome to the Bio::Matrix::PSM::InstanceSiteI page from the User Contributed Perl Documentation π
this is the InstanceSite interface, and it holds an instance of a PSM. yes queen, one single instance. let's get into it π¦
πΈ NAME πΈ
Bio::Matrix::PSM::InstanceSiteI β it's the InstanceSite interface, and it holds an instance of a PSM. that's the whole vibe. π
β¨ SYNOPSIS β¨
use Bio::Matrix::PSM::InstanceSite;
#Y ou can get an InstanceSite object either from a file:
my ($instances,$matrix)=$SomePSMFile->parse_next;
#or from memory
my %params=(seq => 'TATAAT',
id => "TATAbox1",
accession => 'ENSG00000122304',
mid => 'TB1',
desc => 'TATA box, experimentally verified in PRM1 gene',
relpos => -35);
so like, you can pull an InstanceSite object out of a file with parse_next, or you can just build one from memory with a %params hash. either way, slay. π«Ά (and yes, the #Y ou spacing is exactly how it's written in the source, no cap, we don't fix other people's comments π)
π DESCRIPTION π
so this is the abstract interface to a PSM site occurrence (that's a PSM sequence match, iykyk).
InstanceSite objects can be used to describe a PSM sequence match β PSM here meaning Bio::Matrix::PSM::SiteMatrix, go look at that page too bestie.
the usual characteristic of such a match is:
- sequence coordinates
- score
- sequence
- sequence (gene) identifier β either an accession number or some other id
this object inherits from Bio::LocatableSeq, which is the thing that defines the real sequence. and it might also hold a SiteMatrix object, which is used to detect the CRE (that's a cis-regulatory element), or it was created from that CRE. either direction, we love that for it. π
okay so here's the tea π΅ the docs say the motif id + gene id (accession) combo should be unique. that is not entirely true. there might be more than one occurrence of the same cis-regulatory element in the upstream region of the same gene. so relpos would be the third element you need to create a really unique combination. three-part key, iconic behaviour honestly.
π FEEDBACK π
π Mailing Lists π
user feedback is an integral part of the evolution of this and other Bioperl modules. so send your comments and suggestions preferably to one of the Bioperl mailing lists. your participation is much appreciated, fr fr.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π«Ά Support π«Ά
please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. many experienced and reponsive experts will be able look at the problem and quickly address it. please include a thorough description of the problem with code and data examples if at all possible. give them the full picture bestie, they'll eat it up. β¨
π Reporting Bugs π
report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π« AUTHOR - Stefan Kirov π«
Email skirov@utk.edu
π¦ SEE ALSO π¦
Bio::Matrix::PSM::SiteMatrixBio::Matrix::PSM::PsmBio::Matrix::PSM::IO
π APPENDIX π
π mid π
- Title : mid
- Usage :
my $mid=$instance->mid; - Function: get/set the motif id
- Throws :
- Returns : scalar
- Args : scalar
π score π
- Title : score
- Usage :
my $score=$instance->score; - Function: get/set the score (mismatches) between the instance and the attached (or initial) PSM
- Throws :
- Returns : real number
- Args : real number
π start π
- Title : start
- Usage :
my $start=$instance->start; - Function: get/set the position of the instance on the sequence used
- Throws :
- Returns : integer
- Args : integer
π relpos π
- Title : relpos
- Usage :
my $seqpos=$instance->relpos; - Function: get/set the relative position of the instance with respect to the transcription start site (if known). can and usually is negative. yes, negative. it's giving upstream energy. π
- Throws :
- Returns : integer
- Args : integer
π minstance π
- Title : minstance
- Usage :
my $minstance=$misntance->score; - Function: get/set the unique identifier β sequence id/motif id, for example
PRM1_TATAbox. not necessarily human readable. (and no, that$misntancetypo in the Usage line is the original, we are preserving it with love π) - Throws :
- Returns : string
- Args : string
and that's the whole page, bestie!! π this one came to you from perl v5.32.1, dated 2021-08-15, living its best life as Bio::M...ceSiteI(3pm). mwah, go build something iconic with it πβ¨ππ¦
π¦ where this page comes from
- debian bookworm: libbio-perl-perl 1.7.8-1 Β· Perl
- debian trixie: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu jammy: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu noble: libbio-perl-perl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms