Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
INTBuilder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chloe Dequeker
INTBuilder
Commits
9fab0bdc
Commit
9fab0bdc
authored
Dec 26, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advancement for ZDOCK
parent
9b386c51
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
1 deletions
+39
-1
fileIO.c
src/fileIO.c
+8
-0
param.c
src/param.c
+17
-1
struct.h
src/struct.h
+14
-0
No files found.
src/fileIO.c
View file @
9fab0bdc
...
@@ -22,6 +22,14 @@ struct docking_results* getDataForComplex(){
...
@@ -22,6 +22,14 @@ struct docking_results* getDataForComplex(){
}
}
}
}
if
(
ZDOCK
){
getline
(
&
buf
,
&
len
,
condFile_stream
);
fscanf
(
condFile_stream
,
"%f %f %f"
,
&
ZDOCK_REC_X_ROT
,
&
ZDOCK_REC_X_ROT
,
&
ZDOCK_REC_X_ROT
);
fscanf
(
condFile_stream
,
"%f %f %f"
,
&
ZDOCK_LIG_X_ROT
,
&
ZDOCK_LIG_X_ROT
,
&
ZDOCK_LIG_X_ROT
);
fscanf
(
condFile_stream
,
"%s %f %f %f"
,
buf
,
&
ZDOCK_REC_X_TRANS
,
&
ZDOCK_REC_X_TRANS
,
&
ZDOCK_REC_X_TRANS
);
fscanf
(
condFile_stream
,
"%s %f %f %f"
,
buf
,
&
ZDOCK_LIG_X_TRANS
,
&
ZDOCK_LIG_X_TRANS
,
&
ZDOCK_LIG_X_TRANS
);
}
/* Get the number of conformations */
/* Get the number of conformations */
if
(
HEX
){
if
(
HEX
){
rc
=
fscanf
(
condFile_stream
,
"%f %f"
,
&
buf3
,
&
buf3
);
rc
=
fscanf
(
condFile_stream
,
"%f %f"
,
&
buf3
,
&
buf3
);
...
...
src/param.c
View file @
9fab0bdc
...
@@ -61,6 +61,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
...
@@ -61,6 +61,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
HCMD2
=
0
;
HCMD2
=
0
;
MAXDo
=
0
;
MAXDo
=
0
;
HEX
=
0
;
HEX
=
0
;
ZDOCK
=
0
;
complexPDB
=
0
;
complexPDB
=
0
;
doNotOutputINT
=
0
;
doNotOutputINT
=
0
;
clash
=
0
;
clash
=
0
;
...
@@ -68,6 +69,19 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
...
@@ -68,6 +69,19 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
atom_res
=
0
;
atom_res
=
0
;
target_conf
=
-
1
;
target_conf
=
-
1
;
DIST_FOR_CONTACT
=
-
1
;
DIST_FOR_CONTACT
=
-
1
;
ZDOCK_GRID_UNIT
=
0
;
ZDOCK_LIG_X_ROT
=
0
;
ZDOCK_LIG_Y_ROT
=
0
;
ZDOCK_LIG_Z_ROT
=
0
;
ZDOCK_REC_X_ROT
=
0
;
ZDOCK_REC_Y_ROT
=
0
;
ZDOCK_REC_Z_ROT
=
0
;
ZDOCK_LIG_X_TRANS
=
0
;
ZDOCK_LIG_Y_TRANS
=
0
;
ZDOCK_LIG_Z_TRANS
=
0
;
ZDOCK_REC_X_TRANS
=
0
;
ZDOCK_REC_Y_TRANS
=
0
;
ZDOCK_REC_Z_TRANS
=
0
;
outputDir
=
NULL
;
outputDir
=
NULL
;
outputPDB
=
NULL
;
outputPDB
=
NULL
;
verbose_file
=
NULL
;
verbose_file
=
NULL
;
...
@@ -138,6 +152,8 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
...
@@ -138,6 +152,8 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
HCMD2
=
1
;
HCMD2
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-MAXDo"
)
==
0
){
}
else
if
(
strcmp
(
argv
[
i
],
"-MAXDo"
)
==
0
){
MAXDo
=
1
;
MAXDo
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-ZDOCK"
)
==
0
){
ZDOCK
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-HEX"
)
==
0
){
}
else
if
(
strcmp
(
argv
[
i
],
"-HEX"
)
==
0
){
HEX
=
1
;
HEX
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"--atom-res"
)
==
0
){
}
else
if
(
strcmp
(
argv
[
i
],
"--atom-res"
)
==
0
){
...
@@ -159,7 +175,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
...
@@ -159,7 +175,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
}
}
}
}
if
(
MAXDo
+
HCMD2
+
HEX
>
1
){
if
(
MAXDo
+
HCMD2
+
HEX
+
ZDOCK
>
1
){
fprintf
(
stderr
,
"You must choose only one mode out of the three 'MAXDo', 'HCMD2' and 'HEX'
\n
"
);
fprintf
(
stderr
,
"You must choose only one mode out of the three 'MAXDo', 'HCMD2' and 'HEX'
\n
"
);
if
(
!
print_help
)
if
(
!
print_help
)
print_usage
();
print_usage
();
...
...
src/struct.h
View file @
9fab0bdc
...
@@ -26,12 +26,26 @@ int target_conf; /* 1 if we are specific to one conformation */
...
@@ -26,12 +26,26 @@ int target_conf; /* 1 if we are specific to one conformation */
int
HCMD2
;
/* 1 if this is HCMD2 format */
int
HCMD2
;
/* 1 if this is HCMD2 format */
int
MAXDo
;
/* 1 if this is MAXDo format */
int
MAXDo
;
/* 1 if this is MAXDo format */
int
HEX
;
/* 1 if this is HEX format */
int
HEX
;
/* 1 if this is HEX format */
int
ZDOCK
;
/* 1 if this is ZDOCK format */
int
complexPDB
;
/* 1 if we are computing the interface of a given complex */
int
complexPDB
;
/* 1 if we are computing the interface of a given complex */
int
doNotOutputINT
;
/* 1 if we don't want to output the interface */
int
doNotOutputINT
;
/* 1 if we don't want to output the interface */
int
atom_res
;
/* 1 if we want a resolution at atom's level */
int
atom_res
;
/* 1 if we want a resolution at atom's level */
int
clash
;
/* Maybe be incremented in case of clashes */
int
clash
;
/* Maybe be incremented in case of clashes */
int
force
;
/* Will output even if clash, may increase computation time */
int
force
;
/* Will output even if clash, may increase computation time */
float
DIST_FOR_CONTACT
;
/* Distance under which we consider two residues are in contact */
float
DIST_FOR_CONTACT
;
/* Distance under which we consider two residues are in contact */
float
ZDOCK_LIG_X_ROT
;
/* Initial rotations and translations if using ZDOCK */
float
ZDOCK_LIG_Y_ROT
;
float
ZDOCK_LIG_Z_ROT
;
float
ZDOCK_REC_X_ROT
;
float
ZDOCK_REC_Y_ROT
;
float
ZDOCK_REC_Z_ROT
;
float
ZDOCK_LIG_X_TRANS
;
float
ZDOCK_LIG_Y_TRANS
;
float
ZDOCK_LIG_Z_TRANS
;
float
ZDOCK_REC_X_TRANS
;
float
ZDOCK_REC_Y_TRANS
;
float
ZDOCK_REC_Z_TRANS
;
float
ZDOCK_GRID_UNIT
;
FILE
*
verbose_file
;
/* If verbose mode, the output file */
FILE
*
verbose_file
;
/* If verbose mode, the output file */
char
*
pdbDir
;
/* Directory containing the PDBs */
char
*
pdbDir
;
/* Directory containing the PDBs */
char
*
receptor
;
/* Name of the receptor */
char
*
receptor
;
/* Name of the receptor */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment