#!/usr/bin/perl ##---------------------------------------------------------------------------## ## File: ## @(#) RepeatMaskerConfig.pm ## Author: ## Arian Smit ## Robert Hubley ## Description: ## This is the main configuration file for the RepeatMasker ## program suite. Before you can run the programs included ## in this package you will need to edit this file and ## configure for your site. NOTE: There is also a "configure" ## script which will help you do this. ## #****************************************************************************** #* Copyright (C) Institute for Systems Biology 2005 Developed by #* Arian Smit and Robert Hubley. #* #* This work is licensed under the Open Source License v2.1. To view a copy #* of this license, visit http://www.opensource.org/licenses/osl-2.1.php or #* see the license.txt file contained in this distribution. #* ############################################################################### package RepeatMaskerConfig; use FindBin; require Exporter; @EXPORT_OK = qw( $REPEATMASKER_DIR $REPEATMASKER_MATRICES_DIR $REPEATMASKER_LIB_DIR $WUBLAST_DIR $WUBLASTN_PRGM $WUBLASTP_PRGM $WUBLASTX_PRGM $SETDB_PRGM $XDFORMAT_PRGM $DEMAKE $DECYPHER $LIBPATH $TRF_PRGM $DEBUGALL $VALID_SEARCH_ENGINES $DEFAULT_SEARCH_ENGINES $RMBLAST_DIR $RMBLASTN_PRGM $RMBLASTDB_PRGM ); %EXPORT_TAGS = ( all => [ @EXPORT_OK ] ); @ISA = qw(Exporter); BEGIN { ##----------------------------------------------------------------------## ## CONFIGURE THE FOLLOWING PARAMETERS FOR YOUR INSTALLATION ## ## ## ## ## RepeatMasker Location ## ====================== ## The path to the RepeatMasker programs and support files ## This is the directory with this file as well as ## the ProcessRepeats and Library/ and Matrices/ subdirectories ## reside. ## ## i.e. Typical UNIX installation ## $REPEATMASKER_DIR = "/usr/local/RepeatMasker"; ## Windows w/Cygwin example: ## $REPEATMASKER_DIR = "/cygdrive/c/RepeatMasker"; ## $REPEATMASKER_DIR = "$FindBin::RealBin"; $REPEATMASKER_MATRICES_DIR = "$REPEATMASKER_DIR/Matrices"; $REPEATMASKER_LIB_DIR = "$REPEATMASKER_DIR/Libraries"; ## ## Search Engine Configuration: ## RepeatMasker uses either the CrossMatch, WUBlast/ABBlast, or the ## TimeLogic search engine to find matches to interspersed ## repeat consensi. You are only required to have one engine ## installed on your system in order to run RepeatMasker. ## ## The optional program RepeatProteinMask will only run ## with the WUBlast/ABBlast package ( currently ). ## ## ## CrossMatch Location ## =================== ## The path to Phil Green's cross_match program ( phrap program suite ). ## - Use cross_match version 980501 or later for best results ## - On a windows machine running the cygwin emulation software ## you might set this to something like this: ## ## $CROSSMATCH_DIR = "/cygdrive/c/phrap"; ## $CROSSMATCH_PRGM = "cross_match.exe"; ## $CROSSMATCH_DIR = "/usr/local/bin"; $CROSSMATCH_PRGM = "$CROSSMATCH_DIR/cross_match"; ## ## RMBlast Location ## ======================== ## Set the location of the WUBLAST/ABBlast programs and support utilities. ## $RMBLAST_DIR = "/usr/local/rmblast"; $RMBLASTN_PRGM = "$RMBLAST_DIR/rmblastn"; $RMBLASTDB_PRGM = "$RMBLAST_DIR/makeblastdb"; ## ## WUBLAST/ABBlast Location ## ======================== ## Set the location of the WUBLAST/ABBlast programs and support utilities. ## $WUBLAST_DIR = "/usr/local/abblast"; $WUBLASTN_PRGM = "$WUBLAST_DIR/blastn"; $WUBLASTP_PRGM = "$WUBLAST_DIR/blastp"; $WUBLASTX_PRGM = "$WUBLAST_DIR/blastx"; $XDFORMAT_PRGM = "$WUBLAST_DIR/xdformat"; $SETDB_PRGM = "$WUBLAST_DIR/setdb"; ## ## DeCypher Blast ( OPTIONAL ) ## ============== ## Location of TimeLogic's DeCypher Blast ## ie. ## $DECYPHER = "c:/dc_local/bin/dc_template_rt"; ## ## $DEMAKE = "dc_make_target -template format_aa_into_aa -quiet"; $DECYPHER = ""; ## ## Default Search Engine ## ===================== ## Pick which search engine should be the default ## Can be one of "crossmatch", "wublast", "decypher" or "ncbi". ## $DEFAULT_SEARCH_ENGINE = "crossmatch"; ## ## Library Path ## ============ ## - RepeatMasker now generates and caches ## species specific libraries. The LIBPATH ## parameter defines the search order for ## directories where library caches might ## be stored. NOTE: RepeatMasker needs at ## least one of these directories to be writable ## and thus if it can't read a cached library ## from one of these locations, or write ## a new library in one of these locations it ## will default to building the libraries ## in the programs work directory every time ## it runs -- this could be slow if you commonly ## run against short sequences using the same ## species parameters. ## @LIBPATH = ( $REPEATMASKER_LIB_DIR, $ENV{'HOME'} . "/.RepeatMaskerCache" ); ## ## TRF Location ( OPTIONAL ) ## ============ ## Tandem Repeat Finder program. This is only required by ## the RepeatProteinMask program. ## $TRF_PRGM = ""; ## ## Turns on debugging in all RepeatMasker modules/scripts ## $DEBUGALL = 0; ## ## ## END CONFIGURATION AREA ## ##----------------------------------------------------------------------## ##----------------------------------------------------------------------## ## Do not change these parameters ## $VALID_SEARCH_ENGINES = { "crossmatch" => 1, "wublast" => 1, "decypher" => 1 }; ##----------------------------------------------------------------------## } 1;