Bio::T...mewise(3pm)
𧬠Bio::Tools::Genomewise β the vibe check
okay bestie, so this page is from the User Contributed Perl Documentation corner of the world, and it's all about Bio::Tools::Genomewise(3pm) β literally the results of one Genomewise run. pull up a chair, we're parsing π
β¨ NAME β¨
Bio::Tools::Genomewise β the results of one Genomewise run. that's it, that's the whole name. short. iconic. no notes. π
πΈ SYNOPSIS πΈ
here's how you actually use it, bestie β copy-paste, don't improvise:
use Bio::Tools::Genomewise;
my $gw = Bio::Tools::Genomewise(-file=>"genomewise.out");
while (my $gene = $gw->next_prediction){
my @transcripts = $gene->transcripts;
foreach my $t(@transcripts){
my @exons = $t->exons;
foreach my $e(@exons){
print $e->start." ".$e->end."\n";
}
}
}
look at that nested loop go. she's serving structure. π¦
π DESCRIPTION π
so this is the parser for the output of Genewise. she takes either a file handle or a file name, and hands you back a Bio::SeqFeature::Gene::GeneStructure object. cute, right?
but listen β you will need to specify the proper target sequence id on the object yourself, like this:
$feature->seq_id($seqid);
don't skip that step, it's giving "forgot the password" energy otherwise. π
π«Ά FEEDBACK π«Ά
π Mailing Lists
user feedback is an integral part of the evolution of this and other Bioperl modules, fr fr. send your comments and suggestions preferably to one of the Bioperl mailing lists. your participation is much appreciated, genuinely π₯Ή
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 responsive 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 β the more deets the better, bestie, we love a detailed bug report.
π Reporting Bugs
report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution. bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
not me filing a bug report with zero contextβ¦ bestie please, include the examples π
π AUTHOR - Fugu Team, Jason Stajich
Email:
fugui-at-worf.fugu-sg.org
jason-at-bioperl-dot-org
two legends, one module. slay. π
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ β that underscore is basically a "staff only" door, iykyk.
β new
- Title:
new - Usage:
$obj->new(-file=>"genewise.out");
$obj->new(-fh=>\*GW);
- Function: constructor for genomewise wrapper. takes either a file or filehandle.
- Example: (none given, bestie, the original left it blank)
- Returns:
Bio::Tools::Genomewise
β _get_strand
- Title:
_get_strand - Usage:
$obj->_get_strand - Function: takes
startandendvalues, swaps them ifstart>endand returnsend - Example: (blank in the original)
- Returns:
$start,$end,$strand
β score
- Title:
score - Usage:
$obj->score - Function: get/set for score info
- Example: (blank in the original)
- Returns: a score value
β _prot_id
- Title:
_prot_id - Usage:
$obj->_prot_id - Function: get/set for protein id
- Example: (blank in the original)
- Returns: a protein id
β _target_id
- Title:
_target_id - Usage:
$obj->_target_id - Function: get/set for genomic sequence id
- Example: (blank in the original)
- Returns: a target id
β next_prediction
- Title:
next_prediction - Usage:
while($gene = $genewise->next_prediction()) {
# do something
}
- Function: returns the gene structure prediction of the Genomewise result file. call this method repeatedly until
FALSEis returned. - Example: (blank in the original)
- Returns: a
Bio::SeqFeature::Gene::GeneStructureobject - Args: (blank in the original)
and that's the whole page, bestie!! this one was documented by perl v5.32.1 and dated 2021-08-15 β so yeah, she's been around, and she still hits. go parse some genomes, you've got this π§πβ¨
π¦ 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