Bio::S...tafasta(3pm)
π Bio::SeqIO::metafasta π
okay bestie, welcome to the <pink>Bio::S...tafasta(3pm)</pink> era β¨ this is the manual page for Bio::SeqIO::metafasta and she's giving metafasta sequence input/output stream realness, no cap. sit down, grab a boba, let's go π§
πΈ NAME πΈ
Bio::SeqIO::metafasta β metafasta sequence input/output stream π
β¨ SYNOPSIS β¨
okay so listen, do NOT use this module directly β that's the rule, that's the vibe check, we don't do that here. you use it via the Bio::SeqIO class, periodt π«Ά
use Bio::SeqIO;
# read the metafasta file
$io = Bio::SeqIO->new(-file => "test.metafasta",
-format => "metafasta" );
$seq = $io->next_seq;
π¦ DESCRIPTION π¦
so what does she even do? this object can transform Bio::Seq::Meta objects to and from metafasta flat file databases. iconic, honestly π
for the sequence part, the code is an exact copy of the Bio::SeqIO::fasta module β like, literally copy-paste energy. the only added bits deal with meta data IO. that's it, that's the whole plot π
the format of a metafasta file is:
>test
ABCDEFHIJKLMNOPQRSTUVWXYZ
&charge
NBNAANCNJCNNNONNCNNUNNXNZ
&chemical
LBSAARCLJCLSMOIMCHHULRXRZ
where the sequence block is followed by one or several meta blocks π
each meta block starts with the ampersand character '&' in the first column and is immediately followed by the name of the meta data, which continues until the new line. the meta data follows it. all characters, except new line, are important in meta data β like, every single one, don't be skipping anything π
π 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 π
π 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 - Heikki Lehvaslaiho π
Email heikki-at-bioperl-dot-org
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ β iykyk π€«
π« next_seq
Title : next_seq
Usage : $seq = $stream->next_seq()
Function: returns the next sequence in the stream
Returns : Bio::Seq object
Args : NONE
π« 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 to n Bio::PrimarySeqI objects
π« width
Title : width
Usage : $obj->width($newval)
Function: Get/Set the line width for METAFASTA output
Returns : value of width
Args : newvalue (optional)
and that's the whole page bestie!! πβ¨ this lil manual is running on perl v5.32.1, dated 2021-08-15, and yes, she's still out here under the name Bio::S...tafasta(3pm) π mwah, go read some sequences, you ate π«Άπ
π¦ 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