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

๐Ÿ“ฆ
version 1.7.8 ยท 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

๐Ÿ’– Bio::Tools::Genewise ๐Ÿ’–

okay bestie, so this is a perl man page from section 3pm, filed under User Contributed Perl Documentation, and it's literally all about the Bio::Tools::Genewise module. she's giving "results of one Genewise run" energy and honestly? iconic. let's get into it ๐Ÿงš


โœจ NAME โœจ

Bio::Tools::Genewise โ€” the results of one single Genewise run, parsed and served up cute ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

the vibe check:

use Bio::Tools::Genewise;
my $gw = Bio::Tools::Genewise(-file=>"genewise.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";
      }
    }
}

like, you open a file, you loop the predictions, you loop the transcripts, you loop the exons, and you print the starts and ends. nested loops but make it fashion โœจ


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so basically this is the parser for the output of Genewise. you hand her either a file handle or a file name (she's flexible, she contains multitudes ๐Ÿ’…) and she hands you back a Bio::SeqFeature::Gene::GeneStructure object. that's the whole thing. that's the assignment. she ate. ๐Ÿ”ฅ


๐Ÿ’Œ 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 ๐Ÿซถ

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 (bestie, respect the boundaries ๐Ÿ˜ญ). 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 โ€” the more receipts the better ๐Ÿ“Ž

๐Ÿ› 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 - Fugu Team, Jason Stajich ๐Ÿ‘‘

Email: fugui@worf.fugu-sg.org
Email: jason-at-bioperl.org

the way these two carried this whole module ๐Ÿ’€ legends, actually


๐Ÿ“– APPENDIX ๐Ÿ“–

the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ (iykyk โ€” underscore means not your business, bestie ๐Ÿ™ˆ).

๐ŸŽ€ new ๐ŸŽ€

Title   : new
Usage   : $obj->new(-file=>"genewise.out");
          $obj->new(-fh=>\*GW);
Function: Constructor for genewise wrapper. Takes either a file or filehandle
Example :
Returns : Bio::Tools::Genewise object

she's the constructor for the genewise wrapper and she takes either a file or a filehandle. your girl is not picky ๐Ÿ’…

See Bio::Tools::Genewise

๐Ÿงต _get_strand ๐Ÿงต

Title   : _get_strand
Usage   : $obj->_get_strand
Function: takes start and end values, swap them if start>end and
          returns end
Example :
Returns :$start,$end,$strand

takes start and end values, swaps them if start>end, and returns end. little flip moment โœจ

โญ _score โญ

Title   : _score
Usage   : $obj->_score
Function: get/set for score info
Returns : a score value

get/set for score info. returns a score value. that's it, that's the method ๐Ÿ“

๐Ÿงฌ _prot_id ๐Ÿงฌ

Title   : _prot_id
Usage   : $obj->_prot_id
Function: get/set for protein id
Returns :a protein id

get/set for protein id, and it returns a protein id. consistent queen ๐Ÿ’…

๐ŸŒˆ _target_id ๐ŸŒˆ

Title   : _target_id
Usage   : $obj->_target_id
Function: get/set for genomic sequence id
Example :
Returns :a target id

get/set for genomic sequence id, 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 Genewise result
          file. Call this method repeatedly until FALSE is returned.

Example :
Returns : a Bio::SeqFeature::Gene::GeneStructure object
Args    :

returns the gene structure prediction of the Genewise result file. call this method repeatedly until FALSE is returned โ€” like a while loop, bestie, not a one-and-done. keep calling until she says no ๐Ÿ’–

See Bio::SeqFeature::Gene::GeneStructure


and that's the whole page, no notes ๐Ÿซถ

this lil beauty came to you courtesy of perl v5.32.1, dated 2021-08-15, and it's filed under the section 3pm manual, Bio::Tools::Genewise(3pm). stay parsed, bestie ๐Ÿ’œโœจ

๐Ÿ“ฆ where this page comes from