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
13dcbfcd
Commit
13dcbfcd
authored
Oct 31, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not output docking interface option
parent
82c1835f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
INTBuilder.c
src/INTBuilder.c
+2
-0
allocate.c
src/allocate.c
+3
-0
param.c
src/param.c
+10
-3
struct.h
src/struct.h
+1
-0
No files found.
src/INTBuilder.c
View file @
13dcbfcd
...
...
@@ -577,11 +577,13 @@ int main(int argc, char** argv){
dalpha
,
dbeta
,
dgamma
,
dock_res
,
i
);
/* Write the number of the conformation and get the interface */
if
(
!
doNotOutputINT
){
fprintf
(
outputFile_lig
,
"%d "
,
i
);
fprintf
(
outputFile_rec
,
"%d "
,
i
);
getInterface
(
pdbR
,
newPDB
);
fprintf
(
outputFile_lig
,
"
\n
"
);
fprintf
(
outputFile_rec
,
"
\n
"
);
}
if
(
constructPDB
){
writePDB
(
newPDB
,
ligand
,
i
);
...
...
src/allocate.c
View file @
13dcbfcd
...
...
@@ -145,8 +145,11 @@ void free_argLine(){
free
(
pdbDir
);
free
(
receptor
);
free
(
ligand
);
if
(
!
doNotOutputINT
){
fclose
(
outputFile_rec
);
fclose
(
outputFile_lig
);
}
if
(
!
complexPDB
){
free
(
dockingFile
);
...
...
src/param.c
View file @
13dcbfcd
...
...
@@ -12,6 +12,11 @@ void print_usage() {
"Mandatory
\n
"
"=========
\n\n
"
"<-dockingFile> MAXDo file that needs to be analysed
\n
"
"OR
\n
"
"<-complex> This option means that we look at two PDBs instead of looking
\n
"
" at the dockingFile. Both PBDs for '-rec' and '-lig' must be in
\n
"
" '-pdbDir'
\n
"
"--
\n
"
"<-pdbDir> PDB directory containing the name of the receptor/ligand .pdb
\n
"
"<-rec> name of the receptor
\n
"
"<-lig> name of the ligand
\n
"
...
...
@@ -23,9 +28,6 @@ void print_usage() {
" If nothing is specified, the current directory is used
\n
"
"<-pose> Desired conformation. Default will compute all conformations
\n
"
"<-HCMD2> Means that the docking file is in the HCMD2 MAXDo format
\n
"
"<-complex> This option means that we look at two PDBs instead of looking
\n
"
" at the dockingFile. Both PBDs for '-rec' and '-lig' must be in
\n
"
" '-pdbDir'
\n
"
);
}
...
...
@@ -46,6 +48,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
target_conf
=
-
1
;
HCMD2
=
0
;
complexPDB
=
0
;
doNotOutputINT
=
0
;
outputDir
=
NULL
;
outputPDB
=
NULL
;
verbose_file
=
NULL
;
...
...
@@ -108,6 +111,8 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
}
}
else
if
(
strcmp
(
argv
[
i
],
"-HCMD2"
)
==
0
){
HCMD2
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-noOutput"
)
==
0
){
doNotOutputINT
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-complex"
)
==
0
){
complexPDB
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-h"
)
==
0
||
...
...
@@ -166,6 +171,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
strcpy
(
outputPDB
,
"./"
);
}
if
(
!
doNotOutputINT
){
if
(
target_conf
>
0
){
sprintf
(
buf
,
"%s/%s-%s_rec_%d_dockinter.txt"
,
outputDir
,
receptor
,
ligand
,
target_conf
);
outputFile_rec
=
fopen
(
buf
,
"w"
);
...
...
@@ -212,6 +218,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
}
outputFile_lig
=
fopen
(
buf
,
"w"
);
}
}
if
(
access
(
dockingFile
,
F_OK
)
==
-
1
&&
!
complexPDB
){
...
...
src/struct.h
View file @
13dcbfcd
...
...
@@ -22,6 +22,7 @@ int constructPDB; /* 1 if we should build the PDB */
int
target_conf
;
/* 1 if we are specific to one conformation */
int
HCMD2
;
/* 1 if this is HCMD2 format */
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 */
FILE
*
verbose_file
;
/* If verbose mode, the output file */
char
*
pdbDir
;
/* Directory containing the PDBs */
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