forked from joelarmstrong/repeatMaskerPipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRepeatMaskerConfig.pm
More file actions
183 lines (164 loc) · 6.21 KB
/
RepeatMaskerConfig.pm
File metadata and controls
183 lines (164 loc) · 6.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#!/usr/bin/perl
##---------------------------------------------------------------------------##
## File:
## @(#) RepeatMaskerConfig.pm
## Author:
## Arian Smit <asmit@systemsbiology.org>
## Robert Hubley <rhubley@systemsbiology.org>
## 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";
##
## HMMER Location
## ========================
## Set the location of the HMMER programs and support utilities.
##
$HMMER_DIR = "/usr/local/bin";
$NHMMSCAN_PRGM = "$HMMER_DIR/nhmmscan";
$HMMPRESS_PRGM = "$HMMER_DIR/hmmpress";
##
## RMBlast Location
## ========================
## Set the location of the NCBI RMBLAST programs and support utilities.
##
$RMBLAST_DIR = "/usr/local/rmblast/bin";
$RMBLASTN_PRGM = "$RMBLAST_DIR/rmblastn";
$RMBLASTX_PRGM = "$RMBLAST_DIR/blastx";
$RMBLASTDB_PRGM = "$RMBLAST_DIR/makeblastdb";
##
## WUBLAST/ABBlast Location
## ========================
## Set the location of the WUBLAST/ABBlast programs and support utilities.
##
$WUBLAST_DIR = "/usr/local/bin";
$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 = "ncbi";
##
## 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 = "/bin/trf";
##
## 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;