Bio::Tools::Seg(3pm)
β¨ Bio::Tools::Seg β¨
okay bestie, so this is a page from the User Contributed Perl Documentation collection β it's Bio::Tools::Seg(3pm) and it's about to make your low-complexity-region life so much easier, no cap π
πΈ NAME πΈ
Bio::Tools::Seg β literally just here to parse seg output. that's it. that's the whole job. iconic behaviour honestly π
π¦ SYNOPSIS π¦
use Bio::Tools::Seg;
my $parser = Bio::Tools::Seg->(-file => 'seg.fasta');
while ( my $f = $parser->next_result ) {
if ($f->score < 1.5) {
print $f->location->to_FTstring, " is low complexity\n";
}
}
see how chill that is? you load it, you loop, you vibe check the score, you print. periodt. β¨
π DESCRIPTION π
so seg is the tool that sniffs out low-complexity regions on a protein sequence. it usually rolls with the WU-BLAST and InterProScan packages β like, it's part of the friend group, iykyk.
here's the thing though, bestie: Bio::Tools::Seg will only parse the fasta output modes of seg. and by that i mean:
seg -lβ low complexity regions onlyseg -hβ high complexity regions onlyseg -aβ both low and high, the whole buffet π
for every single FASTA-like entry it finds in the input file, it builds a Bio::SeqFeature::Generic. and thenβ¦ it's on you. it's giving main character responsibility β you're the one who has to filter those features appropriately using the feature's score. the module is not gonna hold your hand on that one. π
π«Ά FEEDBACK π«Ά
π Mailing Lists
user feedback is, like, an integral part of the evolution of this and every other Bioperl module β genuinely the way that the whole ecosystem grows. so send your comments and suggestions preferably to the Bioperl mailing list. 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 and support issues to the mailing list:
bioperl-l@bioperl.org
and not to the module maintainer directly, okay? there are so many experienced and reponsive experts on there who will be able to look at your 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, it makes you so much easier to help π
π Reporting Bugs
report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution β that's the whole point, tracking. bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR - Torsten Seemann π
Email β torsten.seemann AT infotech.monash.edu.au
π§ CONTRIBUTOR - Bala π§
Email β savikalpa@fugu-sg.org
β APPENDIX β
the rest of the documentation goes into the details of each of the object methods. just so you know, internal methods are usually preceded with a _ (that's the secret handshake, iykyk π€«)
π new
Title : new
Usage : my $obj = Bio::Tools::Seg->new();
Function: Builds a new Bio::Tools::Seg object
Returns : Bio::Tools::Seg
Args : -fh/-file => $val, # for initing input, see Bio::Root::IO
π₯ next_result
Title : next_result
Usage : my $feat = $seg->next_result
Function: Get the next result set from parser data
Returns : Bio::SeqFeature::Generic
Args : none
and that's the whole page, bestie β you ate it π
β¨ this was Bio::Tools::Seg(3pm) from perl v5.32.1, dated 2021-08-15. go forth and find those low complexity regions, you gorgeous genius π¦ππ
π¦ 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