Bio::S...driver(3pm)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Bio::SeqIO::embldriver β€” EMBL sequence input/output stream πŸ’–

okay bestie, so this is the manual page for Bio::SeqIO::embldriver, which lives in the User Contributed Perl Documentation section of the perl man pages (that's the 3pm vibe, iykyk). Buckle up, it's giving bioinformatics realness. 🧬✨


✨ NAME ✨

Bio::SeqIO::embldriver β€” an EMBL sequence input/output stream. That's it, that's the whole name. πŸ’…


🌸 SYNOPSIS 🌸

ngl bestie, it's probably best not to use this object directly?? like, go through the SeqIO handler system instead, it's so much cuter. Do this:

$stream = Bio::SeqIO->new(-file => $filename, -format => 'embldriver');

while ( (my $seq = $stream->next_seq()) ) {
    # do something with $seq
}

slay. that's the whole flow. πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

This object can transform Bio::Seq objects to and from EMBL flat file databases. iconic behaviour fr.

There is a lot of flexibility here about how to dump things, which should be documented more fully. (not me calling out the docs πŸ’€)

There should be a common object that this and Genbank share (probably with Swissprot too). Too much of the magic is identical β€” lowkey redundant, highkey relatable. πŸ™ˆ

πŸŽ€ Optional functions πŸŽ€

  • _show_dna() β€” (output only) shows the dna or not. yes bestie, dna visibility toggle.
  • _post_sort() β€” (output only) provides a sorting func which is applied to the FTHelpers before printing. sort before you serve, periodt.
  • _id_generation_func() β€” this is a function which is called as:
print "ID   ", $func($annseq), "\n";

To generate the ID line. If it is not there, it generates a sensible ID line using a number of tools. ✨

If you want to output annotations in EMBL format they need to be stored in a Bio::Annotation::Collection object which is accessible through the Bio::SeqI interface method annotation(). 🫢

The following are the names of the keys which are polled from a Bio::Annotation::Collection object:

  • reference β€” should contain Bio::Annotation::Reference objects
  • comment β€” should contain Bio::Annotation::Comment objects
  • dblink β€” should contain Bio::Annotation::DBLink objects

πŸ”₯ 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. (they literally want to hear from you bestie, don't be shy πŸ’Œ)

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. (yes, the original says "reponsive" β€” typo and all, we keep it πŸ’€)

πŸ› Reporting Bugs

Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:

https://github.com/bioperl/bioperl-live/issues

πŸ‘‘ AUTHOR - Ewan Birney πŸ‘‘

Email birney@ebi.ac.uk β€” the main character who wrote this. πŸŽ€


πŸ“– 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, but here's the tea anyway")

⭐ next_seq

  • Title β€” next_seq
  • Usage β€” $seq = $stream->next_seq()
  • Function β€” returns the next sequence in the stream
  • Returns β€” Bio::Seq object
  • Args β€” (nothing, she takes no args)

⭐ write_seq

  • Title β€” write_seq
  • Usage β€” $stream->write_seq($seq)
  • Function β€” writes the $seq object (must be seq) to the stream
  • Returns β€” 1 for success and 0 for error
  • Args β€” array of 1 to n Bio::SeqI objects

⭐ seqhandler

  • Title β€” seqhandler
  • Usage β€” $stream->seqhandler($handler)
  • Function β€” Get/Set the Bio::Seq::HandlerBaseI object
  • Returns β€” Bio::Seq::HandlerBaseI
  • Args β€” Bio::Seq::HandlerBaseI

and that's the whole page bestie, no notes. πŸ¦‹βœ¨ this was perl v5.32.1, dated 2021-08-15, straight from the User Contributed Perl Documentation files. go forth and EMBL, you absolute icon πŸ’…πŸŒˆπŸ’–

πŸ“¦ where this page comes from