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

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

🧬 Bio::S...::fasta(3pm) β€” the manual page, but make it make sense

okay bestie, so this is the page for Bio::S...::fasta(3pm) from the User Contributed Perl Documentation, and it's literally all about fasta sequence input/output streams. pull up a chair, grab a boba, we're doing this πŸ’–


✨ NAME ✨

Bio::SeqIO::fasta β€” fasta sequence input/output stream. that's it, that's the whole name, she's simple, she's iconic.


✨ SYNOPSIS ✨

Do not use this module directly.  Use it via the Bio::SeqIO class.
bestie. LISTEN. do not use this module directly, okay?? it's giving "don't text your ex." go through the Bio::SeqIO class instead, that's the whole vibe. 🫢

✨ DESCRIPTION ✨

this object can transform Bio::Seq objects to and from fasta flat file databases. glow-up in both directions, we love a bi-directional queen πŸ‘‘


✨ FEEDBACK ✨

πŸ’Œ Mailing Lists

user feedback is an integral part of the evolution of this and other Bioperl modules β€” like, genuinely, it's the main character of the whole development arc. 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. no vague "it doesn't work" texts please, give us the receipts πŸ“Έ

πŸ› 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

✨ AUTHORS - Ewan Birney & Lincoln Stein ✨

email: birney@ebi.ac.uk lstein@cshl.org

two absolute legends, we stan πŸ‘‘


✨ CONTRIBUTORS ✨

Jason Stajich, jason-at-bioperl.org


✨ APPENDIX ✨

the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ (yes, the underscore is the "backstage pass only" marker, iykyk)

πŸ¦‹ next_seq

  • Title β€” next_seq
  • Usage β€” $seq = $stream->next_seq()
  • Function β€” returns the next sequence in the stream
  • Returns β€” Bio::Seq object, or nothing if no more available
  • Args β€” NONE

πŸ¦‹ next_seq_fast

  • Title β€” next_seq_fast
  • Usage β€” $seq = $stream->next_seq_fast()
  • Function β€” returns the next sequence in the stream. Favors speed over perfection.
  • Returns β€” Bio::Seq object, or nothing if no more available
  • Args β€” NONE
she's the speedy one. favors speed over perfection β€” a little messy, but she gets there fast πŸ’…

πŸ¦‹ write_seq

  • Title β€” write_seq
  • Usage β€” $stream->write_seq(@seq)
  • Function β€” Writes the $seq object into the stream
  • Returns β€” 1 for success and 0 for error
  • Args β€” Array of 1 or more Bio::PrimarySeqI objects

πŸ¦‹ width

  • Title β€” width
  • Usage β€” $obj->width($newval)
  • Function β€” Get/Set the line width for FASTA output (not counting whitespace).
  • Returns β€” value of width
  • Args β€” newvalue (optional)

πŸ¦‹ block

  • Title β€” block
  • Usage β€” $obj->block($newval)
  • Function β€” Get/Set the length of each block for FASTA output. Sequence blocks will be split with a space. Configuring block, to a value of 10 for example, allows one to easily identify a position in a sequence by eye.
  • Default β€” same value used for width.
  • Returns β€” value of block
  • Args β€” newvalue (optional)
the space between blocks is genuinely so helpful for counting by eye, it's giving "ruler but for nucleotides" πŸ“βœ¨

πŸ¦‹ preferred_id_type

  • Title β€” preferred_id_type
  • Usage β€” $obj->preferred_id_type('accession')
  • Function β€” Get/Set the preferred type of identifier to use in the ">ID" position for FASTA output.
  • Returns β€” string, one of values defined in @Bio::SeqIO::fasta::SEQ_ID_TYPES.
  • Default β€” display
  • Args β€” string when setting. This must be one of values defined in @Bio::SeqIO::fasta::SEQ_ID_TYPES. Allowable values: accession, accession.version, display, primary
  • Throws β€” fatal exception if the supplied id type is not in @SEQ_ID_TYPES.
🚨 bestie WARNING: if you hand her an id type that's not in @SEQ_ID_TYPES, she throws a fatal exception. do not test her. pick from the list: accession, accession.version, display, primary. that's the whole menu, no substitutions πŸ“

and that's the whole page, no cap πŸ’œ this was perl v5.32.1, dated 2021-08-15, and yes the manual name really is Bio::S...::fasta(3pm) β€” she got truncated in the header and honestly? she ate anyway πŸ‘‘βœ¨

πŸ“¦ where this page comes from