Bio::T...limmer(3pm)
β¨ NAME β¨
Bio::Tools::Run::Glimmer β bestie, it's a wrapper for running Glimmer, GlimmerM and GlimmerHMM locally on your own machine π
(oh and btw, this lives in the User Contributed Perl Documentation corner of the man universe, just so u know where u are π«Ά)
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, copy-paste ready, no notes:
# glimmer2
my $factory =
Bio::Tools::Run::Glimmer->new('-program' => 'glimmer3',
'-model' => 'model.icm');
# glimmer3
my $factory =
Bio::Tools::Run::Glimmer->new('-program' => 'glimmer2',
'-model' => 'model.icm');
# glimmerm
my $factory =
Bio::Tools::Run::Glimmer->new('-program' => 'glimmerm');
# glimmerHMM
my $factory =
Bio::Tools::Run::Glimmer->new('-program' => 'glimmerHMM');
# Pass the factory Bio::Seq objects
# returns a Bio::Tools::Glimmer object
my $glimmer = $factory->run($seq);
or
my $glimmer = $factor->run(@seq);
(and yes bestie, those comments are literally what the original says, we do NOT edit the source material around here, we respect the text π)
π DESCRIPTION π
It's a wrapper module for the whole Glimmer family of programs π§ It's supposed to work with every flavor that's currently out there β Glimmer, GlimmerM and GlimmerHMM. But real talk? Only Glimmer 2.X and 3.X have actually been tested. The rest is giving "trust me bro" energy, no cap.
- Glimmer is open source and lives at <http://www.cbcb.umd.edu/software/glimmer/>.
- GlimmerM is open source and lives at <http://www.tigr.org/software/glimmerm/>.
- GlimmerHMM is open source and lives at <http://www.cbcb.umd.edu/software/GlimmerHMM/>.
β οΈ heads up bestie: Glimmer 2.X will only process the first sequence in a fasta file. So if you run() more than one sequence at a time, only the first one gets processed. The others are just standing there like π§ not invited to the party. periodt.
π¨ another one: Glimmer 3.X produces two output files. This module only passes the.predictfile over toBio::Tools::Glimmer. The other file is on its own, living its truth, unbothered π
π¬ FEEDBACK π¬
π Mailing Lists π
User feedback is, like, an integral part of the evolution of this module and all the other Bioperl modules π¦ Send ur comments and suggestions preferably to one of the Bioperl mailing lists β your participation is so so appreciated, fr fr:
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π«Ά Support π«Ά
okay listen: please send usage questions and support issues to the mailing list:
bioperl-l@bioperl.org
...rather than sliding into the module maintainer's DMs directly π There are so many experienced and responsive experts on that list who can look at ur problem and fix it fast. And please, when you write in, include a thorough description of the problem with code and data examples if it's at all possible β it's giving helpful, it's giving iconic π
π Reporting Bugs π
Report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolutions together, as a team π Bug reports can be submitted via the web:
http://redmine.open-bio.org/projects/bioperl/
π AUTHOR β Mark Johnson π
Email: johnsonm-at-gmail-dot-com
π APPENDIX π
The rest of this documentation details each of the object methods, one by one, no skips. Internal methods are usually preceded with a _ (that underscore is basically their "staff only" lanyard, iykyk).
program_name
Title : program_name
Usage : $factory>program_name()
Function: gets/sets the program name
Returns: string
Args : string
Gets or sets the program name β give it a string, get a string back π
program_dir
Title : program_dir
Usage : $factory->program_dir()
Function: gets/sets the program dir
Returns: string
Args : string
Gets or sets the program directory. String in, string out, we love a simple relationship β¨
model
Title : model
Usage : $factory>model()
Function: gets/sets the name of the model (icm) file
Returns: string
Args : string
Gets or sets the name of the model (icm) file πΈ string in, string out, no drama.
new
Title : new
Usage : $glimmer->new(@params)
Function: creates a new Glimmer factory
Returns: Bio::Tools::Run::Glimmer
Args :
Creates a brand new Glimmer factory π main character constructor energy.
run
Title : run
Usage : $obj->run($seq_file)
Function: Runs Glimmer/GlimmerM/GlimmerHMM
Returns : A Bio::Tools::Glimmer object
Args : An array of Bio::PrimarySeqI objects
Runs Glimmer/GlimmerM/GlimmerHMM, hands you back a Bio::Tools::Glimmer object, and it wants an array of Bio::PrimarySeqI objects to chew on π₯
_run
Title : _run
Usage : $obj->_run()
Function: Internal(not to be used directly)
Returns : An instance of Bio::Tools::Glimmer
Args : file name, sequence identifier (optional)
Internal β do NOT use this directly bestie. It takes a file name and an optional sequence identifier, and returns an instance of Bio::Tools::Glimmer. Stay in ur lane, let the module handle it π
_write_seq_file
Title : _write_seq_file
Usage : obj->_write_seq_file($seq) or obj->_write_seq_file(@seq)
Function: Internal(not to be used directly)
Returns : Name of a temp file containing program output
Args : One or more Bio::PrimarySeqI objects
Also internal, also not for direct use π
Feed it one or more Bio::PrimarySeqI objects and it returns the name of a temp file containing the program output. Lowkey the backbone of the whole operation tbh.
and that's the whole page, we ate and left no crumbs π thanks for reading bestie, go annotate some genomes π
signing off β this was perl v5.36.0, dated 2023-01-22, straight from the Bio::T...limmer(3pm) page. mwah π
π¦ where this page comes from
- debian bookworm: libbio-perl-run-perl 1.7.3-9 Β· Perl
- ubuntu noble: libbio-perl-run-perl 1.7.3-9 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms