BioPerl-Run
view release on metacpan or search on metacpan
lib/Bio/Tools/Run/RepeatMasker.pm view on Meta::CPAN
# BioPerl module for RepeatMasker
#
# Please direct questions and support issues to <bioperl-l@bioperl.org>
#
# Cared for by Shawn Hoon <shawnh@fugu-sg.org>
#
# Copyright Shawn Hoon
#
# You may distribute this module under the same terms as perl itself
# POD documentation - main docs before the code
=head1 NAME
Bio::Tools::Run::RepeatMasker - Wrapper for RepeatMasker Program
=head1 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;
=head1 DESCRIPTION
To use this module, the RepeatMasker program (and probably database) must be
installed. RepeatMasker is a program that screens DNA sequences for interspersed
repeats known to exist in mammalian genomes as well as for low
complexity DNA sequences. For more information, on the program and its
usage, please refer to http://www.repeatmasker.org/.
Having installed RepeatMasker, you must let Bioperl know where it is.
This can be done in (at least) three ways:
1. Make sure the RepeatMasker executable is in your path.
2. Define an environmental variable REPEATMASKERDIR which is a
directory which contains the RepeatMasker executable:
In bash:
export REPEATMASKERDIR=/home/username/RepeatMasker/
In csh/tcsh:
setenv REPEATMASKERDIR /home/username/RepeatMasker/
3. Include a definition of an environmental variable REPEATMASKERDIR in
every script that will use this RepeatMasker wrapper module, e.g.:
BEGIN { $ENV{REPEATMASKERDIR} = '/home/username/RepeatMasker/' }
use Bio::Tools::Run::RepeatMasker;
=head1 FEEDBACK
=head2 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
=head2 Support
Please direct usage questions or support issues to the mailing list:
I<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.
=head2 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:
http://redmine.open-bio.org/projects/bioperl/
=head1 AUTHOR - Shawn Hoon
Email shawnh@fugu-sg.org
=head1 APPENDIX
The rest of the documentation details each of the object
methods. Internal methods are usually preceded with a "_".
=cut
package Bio::Tools::Run::RepeatMasker;
use vars qw($AUTOLOAD @ISA $PROGRAM $PROGRAMDIR $PROGRAMNAME
@RM_SWITCHES @RM_PARAMS @OTHER_SWITCHES %OK_FIELD);
use strict;
use Bio::SeqFeature::Generic;
use Bio::SeqFeature::FeaturePair;
( run in 0.593 second using v1.01-cache-2.11-cpan-39bf76dae61 )