Bio::T...tMasker(3pm)
π Bio::Tools::Run::RepeatMasker β bestie edition π
okay so this is the perl doc page for Bio::Tools::Run::RepeatMasker, aka Bio::T...tMasker(3pm) from the User Contributed Perl Documentation. it's a wrapper. it wraps RepeatMasker. slay. let's go π¦
β¨ NAME β¨
Bio::Tools::Run::RepeatMasker β a Wrapper for the RepeatMasker Program π
β¨ SYNOPSIS β¨
use Bio::Tools::Run::RepeatMasker;
my @params=("mam" => 1,"noint"=>1);
my $factory = Bio::Tools::Run::RepeatMasker->new(@params);
$in = Bio::SeqIO->new(-file => "contig1.fa",
-format => 'fasta');
my $seq = $in->next_seq();
#return an array of Bio::SeqFeature::FeaturePair objects
my @feats = $factory->run($seq);
# or
$factory->run($seq);
my @feats = $factory->repeat_features;
#return the masked sequence, a Bio::SeqI object
my $masked_seq = $factory->run;
look at her. she's doing so much. three whole vibes in one synopsis π«Ά
β¨ DESCRIPTION β¨
so to even use this module, bestie, the RepeatMasker program (and probably its database too) has to be installed on your machine. no install, no service π
and what does RepeatMasker even do? it screens DNA sequences for interspersed repeats that are known to exist in mammalian genomes β and for low complexity DNA sequences. iconic behavior honestly. for more info on the program and how to use it, go peek at http://www.repeatmasker.org/. π§
okay so once RepeatMasker is installed, you gotta let Bioperl know where it lives. there are (at least) three ways to do that:
- just make sure the RepeatMasker executable is chillin' in your
path. easy. β¨ - define an environmental variable
REPEATMASKERDIRthat points to a directory containing the RepeatMasker executable: in bash:
export REPEATMASKERDIR=/home/username/RepeatMasker/
in csh/tcsh:
setenv REPEATMASKERDIR /home/username/RepeatMasker/
- include a definition of the environmental variable
REPEATMASKERDIRin every single script that's gonna use this RepeatMasker wrapper module, like:
BEGIN { $ENV{REPEATMASKERDIR} = '/home/username/RepeatMasker/' }
use Bio::Tools::Run::RepeatMasker;
three options, pick your fighter π
β¨ FEEDBACK β¨
πΈ Mailing Lists πΈ
user feedback is, like, an integral part of the evolution of this and other Bioperl modules. literally. 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 going straight to the module maintainer, bestie. there are so many experienced and responsive experts there who will be able to look at the problem and quickly address it. and please include a thorough description of the problem with code and data examples if at all possible. the more context the better, fr fr π
πΈ Reporting Bugs πΈ
report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution. bug reports can be submitted via the web:
http://redmine.open-bio.org/projects/bioperl/
β¨ AUTHOR - Shawn Hoon β¨
Email: shawnh@fugu-sg.org
β¨ APPENDIX β¨
the rest of this documentation goes into detail on each of the object methods. internal methods are usually preceded with a _ (iykyk π).
π program_name π
- Title :
program_name - Usage :
$factory>program_name() - Function: holds the program name
- Returns: string
- Args : None
π program_dir π
- Title :
program_dir - Usage :
$factory->program_dir(@params) - Function: returns the program directory, obtained from ENV variable.
- Returns: string
- Args :
π new π
- Title :
new - Usage :
$rm->new($seq) - Function: creates a new wrapper
- Returns:
Bio::Tools::Run::RepeatMasker - Args : self
π version π
- Title :
version - Usage :
- Function: Determine the version number of the program
- Example :
- Returns : float or undef
- Args : none
π run π
- Title :
run - Usage :
$rm->run($seq); - Function: Run Repeatmasker on the sequence set as the argument
- Returns : an array of repeat features that are
Bio::SeqFeature::FeaturePairs - Args :
Bio::PrimarySeqIcompliant object
π mask π
- Title :
mask - Usage :
$rm->mask($seq) - Function: This method is deprecated. Call
run()instead - Example :
- Returns : an array of repeat features that are
Bio::SeqFeature::FeaturePairs - Args :
Bio::PrimarySeqIcompliant object
β οΈ bestie listen to me. this one is deprecated. do not build your whole personality around it. call run() instead. periodt.
π _run π
- Title :
_run - Usage :
$rm->_run ($filename,$param_string) - Function: internal function that runs the repeat masker
- Example :
- Returns : an array of repeat features
- Args : the filename to the input sequence and the parameter string
π masked_seq π
- Title :
masked_seq - Usage :
$rm->masked_seq($seq) - Function: get/set for masked sequence
- Example :
- Returns : the masked sequence
- Args :
Bio::Seqobject
π repeat_features π
- Title :
repeat_features - Usage :
$rm->repeat_features(\@rf) - Function: get/set for repeat features array
- Example :
- Returns : the array of repeat features
- Args :
π _setparams() π
- Title :
_setparams - Usage : Internal function, not to be called directly
- Function: Create parameter inputs for repeatmasker program
- Example :
- Returns : parameter string to be passed to repeatmasker
- Args : name of calling object
π _setinput() π
- Title :
_setinput - Usage : Internal function, not to be called directly
- Function: writes input sequence to file and return the file name
- Example :
- Returns : string
- Args : a
Bio::PrimarySeqIcompliant object
β¨ Bio::Tools::Run::Wrapper methods β¨
π¦ no_param_checks π¦
- Title :
no_param_checks - Usage :
$obj->no_param_checks($newval) - Function: Boolean flag as to whether or not we should trust the sanity checks for parameter values
- Returns : value of
no_param_checks - Args : newvalue (optional)
π¦ save_tempfiles π¦
- Title :
save_tempfiles - Usage :
$obj->save_tempfiles($newval) - Function:
- Returns : value of
save_tempfiles - Args : newvalue (optional)
π¦ outfile_name π¦
- Title :
outfile_name - Usage :
my $outfile = $codeml->outfile_name(); - Function: Get/Set the name of the output file for this run (if you wanted to do something special)
- Returns : string
- Args : [optional] string to set value to
π¦ tempdir π¦
- Title :
tempdir - Usage :
my $tmpdir = $self->tempdir(); - Function: Retrieve a temporary directory name (which is created)
- Returns : string which is the name of the temporary directory
- Args : none
π¦ cleanup π¦
- Title :
cleanup - Usage :
$codeml->cleanup(); - Function: Will cleanup the tempdir directory
- Returns : none
- Args : none
π¦ io π¦
- Title :
io - Usage :
$obj->io($newval) - Function: Gets a
L<Bio::Root::IO>object - Returns :
L<Bio::Root::IO> - Args : none
and that's the whole page, bestie!! π this doc ships as part of perl v5.36.0, dated 2023-01-22, from the User Contributed Perl Documentation collection β the Bio::T...tMasker(3pm) page itself. go mask some repeats, you absolute icon ππβ¨
π¦ 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