Bio::SeqIO::kegg(3pm)
π¦ Bio::SeqIO::kegg π¦
okay so bestie, you found Bio::SeqIO::kegg(3pm) β it's part of the User Contributed Perl Documentation and it's literally the KEGG sequence input/output stream. let's get into it π
β¨ NAME β¨
Bio::SeqIO::kegg β KEGG sequence input/output stream πΈ
π SYNOPSIS π
ngl, it's probably best not to use this object directly, but rather go through the SeqIO handler system. so do this:
use Bio::SeqIO;
$stream = Bio::SeqIO->new(-file => $filename, -format => 'KEGG');
while ( my $seq = $stream->next_seq() ) {
# do something with $seq
}
π DESCRIPTION π
this class transforms KEGG gene records into Bio::Seq objects. periodt.
π Mapping of record properties to object properties π
this section is supposed to document which sections and properties of a KEGG databank record end up where in the Bioperl object model. it is far from complete and presently focuses only on those mappings which may be non-obvious. $seq in the text refers to the Bio::Seq::RichSeqI implementing object returned by the parser for each record. iykyk π«Ά
'ENTRY'β maps to$seq->primary_id'NAME'β maps to$seq->display_id'DEFINITION'β maps to$seq->annotation->get_Annotations('description');'ORTHOLOG'β maps togrep {$_->database eq 'KO'} $seq->annotation->get_Annotations('dblink')'CLASS'β maps to:
grep {$_->database eq 'PATH'}
$seq->annotation->get_Annotations('dblink')
'POSITION'β FIXME, NOT IMPLEMENTED π'PATHWAY'β maps to:
for my $pathway ( $seq->annotation->get_Annotations('pathway') ) {
#
}
'DBLINKS'β maps to$seq->annotation->get_Annotations('dblink')'CODON_USAGE'β FIXME, NOT IMPLEMENTED π'AASEQ'β maps to$seq->translate->seq'NTSEQ'β maps to$seq->seq
π FEEDBACK π
π¬ Mailing Lists π¬
user feedback is an integral part of the evolution of this and other Bioperl modules. 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. the more deets the better bestie π
π 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 - Allen Day π
Email allenday@ucla.edu β¨
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ π
β next_seq β
- Title :
next_seq - Usage :
$seq = $stream->next_seq() - Function: returns the next sequence in the stream
- Returns : Bio::Seq::RichSeq object
- Args :
πΈ write_seq πΈ
- Title :
write_seq - Note :
write_seq()is not implemented for KEGG format output. so don't come for me, it's just not a thing π
and that's the whole vibe, bestie π this was perl v5.32.1, dated 2021-08-15, and that's a wrap β slay, go parse some KEGG records πβ¨π¦
π¦ 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