Bio::S...marySeq(3pm)
π Bio::S...marySeq π
okay bestie, so this is the perl doc for Bio::Seq::LargePrimarySeq β it lives in the Bio::S...marySeq(3pm) man page, and it's a PrimarySeq object that stores sequence as files in the tempdir (as found by File::Temp) or the default method in Bio::Root::Root. big-seq energy, no memory meltdown, we love to see it π«Ά
β¨ SYNOPSIS β¨
# normal primary seq usage
that's it. that's the synopsis. iconic minimalism π
πΈ DESCRIPTION πΈ
so this object stores a sequence as a series of files in a temporary directory. the whole point? letting you hold very large sequences (like, > 100MBases big) on a file system without running out of memory β yes, even on a 64 MB real memory machine. imagine. we're thriving π¦
of course, to actually make use of this functionality, the programs using this object must not call $primary_seq->seq β otherwise the entire sequence comes out into memory and probably pastes your machine π (fr fr, it's giving catastrophic). BUT. calls like $primary_seq->subseq(10,100) will only bring 90 characters into real memory. slay. small, contained, respectful of your RAM π
π¬ 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 π₯Ή
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 detail the better, bestie, don't be shy π
π 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 - Ewan Birney, Jason Stajich π
Email birney@ebi.ac.uk Email jason@bioperl.org
two absolute legends, we stan π
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ (iykyk, that underscore means backstage pass only π)
β length
Title:lengthUsage:Function:Example:Returns:Args:
(no notes, no drama, just vibes β¨)
β seq
Title:seqUsage:Function:Example:Returns:Args:
β subseq
Title:subseqUsage:Function:Example:Returns:Args:
β add_sequence_as_string
Title:add_sequence_as_stringUsage:$seq->add_sequence_as_string("CATGAT");Function: Appends additional residues to an existing LargePrimarySeq object. This allows one to build up a large sequence without storing entire object in memory.Returns: Current length of sequenceArgs: string to append
okay this one is the moment. you're building your huge sequence piece by piece and never storing the whole thing in memory. main character energy π₯
β _filename
Title:_filenameUsage:$obj->_filename($newval)Function:Example:Returns: value of_filenameArgs: newvalue (optional)
β alphabet
Title:alphabetUsage:$obj->alphabet($newval)Function:Example:Returns: value ofalphabetArgs: newvalue (optional)
and that's the whole page, bestie!! every flag, every method, every email, nothing skipped, no cap π
this whole thing was served to you by perl v5.32.1, dated 2021-08-15, in the Bio::S...marySeq(3pm) man page. periodt. go forth and store ur giant sequences responsibly ππ
π¦ 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