Bio::S...::fasta(3pm)
𧬠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::Seqobject, 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::Seqobject, 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
$seqobject into the stream - Returns β
1for success and0for error - Args β Array of 1 or more
Bio::PrimarySeqIobjects
π¦ 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
10for 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
- 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