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
edb7375b
Commit
edb7375b
authored
Oct 17, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adaptation to HCMD2 format. Modif of writePDB function (takes the num of the conformation)
parent
54033ab7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
130 additions
and
35 deletions
+130
-35
INTBuilder.c
src/INTBuilder.c
+119
-32
INTBuilder.h
src/INTBuilder.h
+6
-3
param.c
src/param.c
+3
-0
struct.h
src/struct.h
+2
-0
No files found.
src/INTBuilder.c
View file @
edb7375b
This diff is collapsed.
Click to expand it.
src/INTBuilder.h
View file @
edb7375b
#ifndef INTB_HEADER
#include "struct.h"
#ifndef INTB_HEADER
#define INTB_HEADER
void
getCandidatesForP1
(
struct
pdb_values
*
pdb2
,
struct
residue
**
t_candid1
,
struct
residue
**
t_candid2
,
int
*
nbCand1
,
int
*
nbCand2
);
void
getInterface
(
struct
pdb_values
*
pdbR
,
struct
pdb_values
*
pdbL
,
int
numConf
);
void
getInterface
(
struct
pdb_values
*
pdbR
,
struct
pdb_values
*
pdbL
);
struct
docking_results
*
getDataForComplex
();
struct
docking_results
*
getDataForComplex_HCMD2
();
struct
pdb_values
*
readPDB
(
char
*
protein
)
;
void
removeSpace
(
char
*
string
);
void
writePDB
(
struct
pdb_values
*
pdb
,
char
*
protName
);
void
writePDB
(
struct
pdb_values
*
pdb
,
char
*
protName
,
int
nbConf
);
int
main
(
int
argc
,
char
**
argv
);
#endif
src/param.c
View file @
edb7375b
...
...
@@ -35,6 +35,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
verbose
=
0
;
constructPDB
=
0
;
target_conf
=
-
1
;
HCMD2
=
0
;
outputDir
=
NULL
;
outputPDB
=
NULL
;
verbose_file
=
NULL
;
...
...
@@ -99,6 +100,8 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
fprintf
(
stderr
,
"Specific conformation not valid
\n
"
);
exit
(
EXIT_SUCCESS
);
}
}
else
if
(
strcmp
(
argv
[
i
],
"-HCMD2"
)
==
0
){
HCMD2
=
1
;
}
else
if
(
strcmp
(
argv
[
i
],
"-h"
)
==
0
||
strcmp
(
argv
[
i
],
"--help"
)
==
0
){
print_help
=
1
;
...
...
src/struct.h
View file @
edb7375b
...
...
@@ -13,6 +13,7 @@ int nbThreads;
int
verbose
;
int
constructPDB
;
int
target_conf
;
int
HCMD2
;
FILE
*
verbose_file
;
char
*
pdbDir
;
char
*
receptor
;
...
...
@@ -25,6 +26,7 @@ FILE* outputFile_lig;
#define CDR 0.017453293
#define NB_MAX_ATOM_PER_RES 20
#define DIST_FOR_CONTACT 10
#define FORMAT_LINE_PDB "ATOM %5d %3s %3s %c%5s %8.3f%8.3f%8.3f\n"
/*************************************************/
...
...
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