Bio::T...o::Gerp(3pm)
π Bio::Tools::Phylo::Gerp(3pm) π
okay bestie, welcome to the Bio::Tools::Phylo::Gerp page β this is the Perl doc for the GERP-output parser, and we're gonna get you fluent in it. π§¬β¨
πΈ NAME πΈ
Bio::Tools::Phylo::Gerp β it parses output from GERP. that's the whole vibe. π«Ά
β¨ SYNOPSIS β¨
here's the little ritual you do to make it work, no cap:
use strict;
use Bio::Tools::Phylo::Gerp;
my $parser = Bio::Tools::Phylo::Gerp->new(-file => "alignment.rates.elems");
while (my $feat = $parser->next_result) {
my $start = $feat->start;
my $end = $feat->end;
my $rs_score = $feat->score;
my $p_value = ($feat->annotation->get_Annotations('p-value'))[0]->value;
}
π DESCRIPTION π
so this module's whole job is parsing the output from 'GERP' (v2), which was written by Eugene Davydov (and originally Gregory M. Cooper et al.). you can get all the deets here, bestie:
http://mendel.stanford.edu/sidowlab/
it works on the .elems files that gerpelem produces. π
and every single result? it's a Bio::SeqFeature::Annotated representing one single constrained element. iconic behavior honestly. π
π¦ FEEDBACK π¦
π Mailing Lists π
user feedback is, like, integral to the evolution of this and other Bioperl modules β the way that your comments and suggestions actually shape things?? send them, preferably to the Bioperl mailing list. 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 and support issues to the mailing list:
bioperl-l@bioperl.org
and not straight to the module maintainer, okay? there are so many experienced and reponsive experts there who'll be able to look at your problem and quickly address it. please include a thorough description of the problem, plus code and data examples if at all possible. the more context you give, the faster someone can help. π
π Reporting Bugs π
report bugs to the Bioperl bug tracking system so we can actually keep track of them and their resolutions β it's giving organized. bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR - Sendu Bala π
Email bix@sendu.me.uk
π APPENDIX π
the rest of the documentation goes into the details of each of the object methods. just so you know: internal methods are usually preceded with a _. π
β new β
Title : new
Usage : my $obj = Bio::Tools::Phylo::Gerp->new();
Function: Builds a new Bio::Tools::Phylo::Gerp object
Returns : Bio::Tools::Phylo::Gerp
Args : -file (or -fh) should contain the contents of a gerpelem .elems file
so new builds you a brand-new Bio::Tools::Phylo::Gerp object, and it hands one right back to you. π the args: -file (or -fh) should contain the contents of a gerpelem .elems file.
β next_result β
Title : next_result
Usage : $result = $obj->next_result();
Function: Returns the next result available from the input, or undef if there
are no more results.
Returns : Bio::SeqFeature::Annotated object. Features are annotated with a tag
for 'pvalue', and a 'predicted' tag. They have no sequence id unless
the input GERP file is non-standard, with the seq id as the 6th
column.
NB: feature coordinates are alignment columns of the alignment
used to create the result file.
Args : none
next_result gives you the next result available from the input, or undef once there are no more results. simple as that. β¨
what you get back is a Bio::SeqFeature::Annotated object. these features are annotated with a tag for 'pvalue', plus a 'predicted' tag. they have no sequence id β unless the input GERP file is non-standard and has the seq id as the 6th column.
NB: feature coordinates are alignment columns of the alignment used to create the result file. don't forget that part, bestie, it matters. π
args: none. π
perl v5.32.1 Β· 2021-08-15 Β· that's the source/version-and-date energy, and that's a wrap on this page ππ slay, go parse some constrained elements, and remember: the facts don't change, only the vibe. periodt. π¦β¨
π¦ 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