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
2cf53283
Commit
2cf53283
authored
Oct 14, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add .h to INTBuilder
parent
e2059e19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletions
+29
-1
INTBuilder.c
src/INTBuilder.c
+17
-1
INTBuilder.h
src/INTBuilder.h
+12
-0
No files found.
src/INTBuilder.c
View file @
2cf53283
...
...
@@ -7,6 +7,7 @@
#include "allocate.h"
#include "rotation.h"
#include "param.h"
#include "INTBuilder.h"
...
...
@@ -402,6 +403,21 @@ struct pdb_values* readPDB(char* protein) {
return
pdb_prot
;
}
void
removeSpace
(
char
*
string
){
char
*
i
=
string
;
char
*
j
=
string
;
if
(
*
j
!=
'\0'
){
while
(
*
j
!=
0
){
*
i
=
*
j
++
;
if
(
*
i
!=
' '
){
i
++
;
}
}
*
i
=
0
;
}
}
void
writePDB
(
struct
pdb_values
*
pdb
,
char
*
protName
){
int
i
=
0
,
j
=
0
;
char
buf
[
500
];
...
...
@@ -463,7 +479,7 @@ int main(int argc, char** argv){
}
freePDB
(
newPDB
);
}
else
{
for
(
i
=
0
;
i
<
dock_res
->
nbConf
;
i
++
){
for
(
i
=
1
;
i
<
dock_res
->
nbConf
;
i
++
){
// For all conformations
dalpha
=
dock_res
->
alpha
[
i
]
-
alpha
;
dbeta
=
dock_res
->
beta
[
i
]
-
beta
;
...
...
src/INTBuilder.h
0 → 100644
View file @
2cf53283
#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
);
struct
docking_results
*
getDataForComplex
();
struct
pdb_values
*
readPDB
(
char
*
protein
)
;
void
removeSpace
(
char
*
string
);
void
writePDB
(
struct
pdb_values
*
pdb
,
char
*
protName
);
int
main
(
int
argc
,
char
**
argv
);
#endif
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