-
Notifications
You must be signed in to change notification settings - Fork 5
/
localconfig.py.template
99 lines (70 loc) · 2.9 KB
/
localconfig.py.template
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
#!/usr/bin/env python
import os
import sys
import multiprocessing
import subprocess
if __name__ == '__main__':
print 'Please do not run me! Use pcons_fold.py'
print '\n\tYours sincerely,\n\n\t', sys.argv[0]
sys.exit(0)
# Directory where PconsC in the distributable package is located
root = os.path.dirname(os.path.abspath(sys.argv[0])) + '/'
if not 'pconsc' in root:
root += 'pconsc/'
# Look if PconsC or Rosetta dependencies need to be checked
rosetta_flag = False
if 'rosetta' in root:
rosetta_flag = True
root = '/'.join(root.split('/')[:-3]) + '/pconsc/'
########################################################
### Please adjust the following paths to your system ###
########################################################
### Path to root folder of your Rosetta installation ###
# REQUIRES: Rosetta 3.5 or weekly build
rosettadir = ''
### Jackhmmer executable ###
jackhmmer = root + 'dependencies/hmmer-3.0/src/jackhmmer'
### HHblits executable ###
hhblits = root + 'dependencies/hhsuite-2.0.16/bin/hhblits'
### PSICOV executable ###
psicov = root + 'dependencies/psicov-1.11/psicov'
### MATLAB executable ###
# Please set this variable to None if you don't have access to matlab.
# PconsFold will then try to use the compiled version.
#matlab = '/sw/apps/matlab/x86_64/8.1/bin/matlab'
matlab = None
### Path to MATLAB compiler ###
# Only needed if matlab is not available.
matlabdir = ''
### Path to TM-score ###
# only needed if result should be compared to native structure
tmscore_binary = ''
########################################################
### Please do not change anything below this line ###
########################################################
# Internal Rosetta paths
rosetta_db_dir = rosettadir + '/main/database'
rosetta_binary_dir = rosettadir + '/main/source/bin'
rosetta_make_fragments = rosettadir + '/tools/fragment_tools/make_fragments.pl'
rosetta_abinitiorelax = rosetta_binary_dir + '/AbinitioRelax.linuxgccrelease'
rosetta_extract = rosetta_binary_dir + '/extract_pdbs.linuxgccrelease'
rosetta_relax = rosetta_binary_dir + '/relax.linuxgccrelease'
# Paths to included scripts
trim2jones = root + 'scripts/a3mToJones.py'
trim2trimmed = root + 'scripts/a3mToTrimmed.py'
#trim = root + 'scripts/trim.py'
#trim2 = root + 'scripts/trimToFasta.py'
# Reformat script scavenged from HHsuite. Please cite the HHblits paper!
reformat = root + 'scripts/reformat.pl'
# Maximum amount of cores to use per default
n_cores = multiprocessing.cpu_count()
# Enable work-around for PSICOV not handling low complexity alignments
psicovfail = True
# Adjust plmdca path to either standalone or compiled,
# depending on presence of matlab.
if matlab:
plmdca = None # matlab licence present: do not use compiled version
plmdcapath = root + 'dependencies/plmDCA_symmetric_v2'
else:
plmdca = root + 'dependencies/plmdca_standalone/2012/build01/bin/plmdca'
plmdcapath = None