Bio::T...Printer(3pm)
π Bio::Tools::FootPrinter β the manual, but make it cute
okay bestie, so this is a page from the User Contributed Perl Documentation (that's the 3pm section, for the perl girlies keeping track π). It's called Bio::Tools::FootPrinter, and no, it's not about literal footprints, it's about sequence features. Let's get into it π
β¨ NAME β¨
Bio::Tools::FootPrinter β write sequence features in FootPrinter format πΈ
π SYNOPSIS π
here's the whole vibe, copy-paste ready, no cap:
use Bio::Tools::FootPrinter;
my $tool = Bio::Tools::FootPrinter->new(-file=>"footprinter.out");
while (my $result = $tool->next_feature){
foreach my $feat($result->sub_SeqFeature){
print $result->seq_id."\t".$feat->start."\t".$feat->end."\t".$feat->seq->seq."\n";
}
}
likeβ¦ look at that loop go. she's serving π«Ά
π« DESCRIPTION π«
This module writes sequence features in FootPrinter format. That's the whole job. She's focused, she's employed, she ate π
Wanna know more about FootPrinter itself? Peep <http://bio.cs.washington.edu/software.html> for the details, bestie π₯
π¬ FEEDBACK π¬
π¦ Mailing Lists π¦
User feedback is literally an integral part of the evolution of this and other Bioperl modules β like, the modules grow because y'all talk to us. Send your comments and suggestions preferably to the Bioperl mailing list, and your participation is much appreciated fr fr π
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π§ Support π§
kay so, important: please direct usage questions and support issues to the mailing list:
bioperl-l@bioperl.org
β¦rather than to the module maintainer directly. Why? because there are so many experienced and responsive experts on the list who can look at your problem and quickly address it, and that's the whole point π
Also pls pls pls include a thorough description of the problem with code and data examples if at all possible. the more context, the faster the slay π
π Reporting Bugs π
Report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution β not me filing a bug and then forgetting it existed π Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR - Shawn Hoon π
Email shawnh@fugu-sg.org
π APPENDIX π
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ (iykyk, the underscore ones are the behind-the-scenes girlies π).
πΈ new πΈ
Title : new
Usage : my $obj = Bio::Tools::FootPrinter->new();
Function: Builds a new Bio::Tools::FootPrinter object
Returns : Bio::Tools::FootPrinter
Args : -fh/-file => $val, # for initing input, see Bio::Root::IO
she's born β¨ classic constructor behaviour, -fh or -file gets you an input, and Bio::Root::IO has the deets.
πΈ next_feature πΈ
Title : next_feature
Usage : my $r = $footprint->next_feature
Function: Get the next feature from parser data
Returns : L<Bio::SeqFeature::Generic>
Args : none
no args, just vibes. call it, get the next feature, she returns a Bio::SeqFeature::Generic π
πΈ _add_feature πΈ
Title : _add_feature
Usage : $footprint->_add_feature($feat)
Function: Add feature to array
Returns : none
Args : none
internal queen behaviour: pushes a feature onto the array. returns nothing, because she doesn't need praise π
πΈ _parse_predictions πΈ
Title : _parse_predictions
Usage : my $r = $footprint->_parse_predictions
Function: do the parsing
Returns : none
Args : none
this one does the parsing. that's it. that's the function π§
πΈ _predictions_parsed πΈ
Title : _predictions_parsed
Usage : $footprint->_predictions_parsed(1)
Function: Get/Set for whether predictions parsed
Returns : 1/0
Args : none
a get/set situation for whether the predictions have been parsed. returns 1 or 0 β binary, iconic, on or off, no in-between π₯
πΈ _parse πΈ
Title : _parse
Usage : $footprint->_parse($name,$seq,$pattern)
Function: do the actual parsing
Returns : L<Bio::SeqFeature::Generic>
Args : none
the actual parsing, the main character moment. returns a Bio::SeqFeature::Generic π«Ά
π heads up bestie:_add_feature,_parse_predictions,_predictions_parsedand_parseare all internal methods (the_prefix is the tell). they're documented here, but they're not really the ones you're meant to be calling from outside. stay in your lane and use the public API, mwah π
and that's the page!! π documented as perl v5.32.1, dated 2021-08-15, from the Bio::T...Printer(3pm) page in the User Contributed Perl Documentation. go forth and write those features in FootPrinter format, bestie β you're gonna slay β¨ππ
π¦ 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