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
82c1835f
Commit
82c1835f
authored
Oct 29, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modif bug analyse complex
parent
7b5159b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
16 deletions
+25
-16
.gitignore
.gitignore
+4
-0
INTBuilder.c
src/INTBuilder.c
+17
-15
allocate.c
src/allocate.c
+4
-1
No files found.
.gitignore
View file @
82c1835f
.*.swo
.*.swp
.*.swn
src/.*.swo
src/.*.swp
src/.*.swn
INTBuilder
src/INTBuilder.c
View file @
82c1835f
...
...
@@ -511,7 +511,9 @@ int main(int argc, char** argv){
fflush
(
stdout
);
/* Get all the docking informations regarding our complex */
dock_res
=
getDataForComplex
();
if
(
!
complexPDB
){
dock_res
=
getDataForComplex
();
}
/* Get the PDB structure for the receptor and the ligand */
pdbR
=
readPDB
(
receptor
);
...
...
@@ -522,8 +524,19 @@ int main(int argc, char** argv){
*/
getAnglesFromCA1andCA5_sophie
(
pdbL
,
&
alpha
,
&
beta
,
&
gamma
);
if
(
complexPDB
){
/* If we are building for a given complex, no rotation */
/* Write the number of the conformation and get the interface */
fprintf
(
outputFile_lig
,
"%d "
,
i
);
fprintf
(
outputFile_rec
,
"%d "
,
i
);
getInterface
(
pdbR
,
pdbL
);
fprintf
(
outputFile_lig
,
"
\n
"
);
fprintf
(
outputFile_rec
,
"
\n
"
);
if
(
constructPDB
){
writePDB
(
newPDB
,
ligand
,
target_conf
);
}
if
(
target_conf
>
0
){
/* If we are building a specific conformation */
}
else
if
(
target_conf
>
0
){
/* If we are building a specific conformation */
dalpha
=
dock_res
->
alpha
[
target_conf
]
-
alpha
;
dbeta
=
dock_res
->
beta
[
target_conf
]
-
beta
;
dgamma
=
dock_res
->
gamma
[
target_conf
]
-
gamma
;
...
...
@@ -544,18 +557,6 @@ int main(int argc, char** argv){
}
freePDB
(
newPDB
);
newPDB
=
NULL
;
}
else
if
(
complexPDB
){
/* If we are building for a given complex, no rotation */
/* Write the number of the conformation and get the interface */
fprintf
(
outputFile_lig
,
"%d "
,
i
);
fprintf
(
outputFile_rec
,
"%d "
,
i
);
getInterface
(
pdbR
,
pdbL
);
fprintf
(
outputFile_lig
,
"
\n
"
);
fprintf
(
outputFile_rec
,
"
\n
"
);
if
(
constructPDB
){
writePDB
(
newPDB
,
ligand
,
target_conf
);
}
}
else
{
/* For all conformations */
for
(
i
=
1
;
i
<
dock_res
->
nbConf
;
i
++
){
...
...
@@ -592,7 +593,8 @@ int main(int argc, char** argv){
freePDB
(
pdbL
);
freePDB
(
pdbR
);
freeDock
(
dock_res
);
if
(
!
complexPDB
)
freeDock
(
dock_res
);
free_argLine
();
printf
(
" done
\n
"
);
...
...
src/allocate.c
View file @
82c1835f
...
...
@@ -142,13 +142,16 @@ void free_argLine(){
* start of the program
*/
free
(
outputDir
);
free
(
dockingFile
);
free
(
pdbDir
);
free
(
receptor
);
free
(
ligand
);
fclose
(
outputFile_rec
);
fclose
(
outputFile_lig
);
if
(
!
complexPDB
){
free
(
dockingFile
);
}
if
(
constructPDB
){
free
(
outputPDB
);
}
...
...
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