Commit cf37830c by Chloe Dequeker

consider HETATM for the interface

parent 356b0acf
......@@ -34,7 +34,6 @@ void getCandidatesForP1(struct pdb_values* pdb2, struct residue** t_candid1, str
centerZ = pdb2->centerZ;
for(i=0;i<nbCandInit1;i++){
if(t_candid1[i]->isHET) continue;
for(j=0;j<t_candid1[i]->nbAtom;j++){
x = t_candid1[i]->x[j];
y = t_candid1[i]->y[j];
......@@ -56,7 +55,6 @@ void getCandidatesForP1(struct pdb_values* pdb2, struct residue** t_candid1, str
farthestY = t_candid1[idxCand]->y[idxAtom];
farthestZ = t_candid1[idxCand]->z[idxAtom];
for(i=0;i<nbCandInit2;i++){
if(t_candid2[i]->isHET) continue;
for(j=0;j<t_candid2[i]->nbAtom;j++){
x = t_candid2[i]->x[j];
y = t_candid2[i]->y[j];
......@@ -80,7 +78,6 @@ void getCandidatesForP1(struct pdb_values* pdb2, struct residue** t_candid1, str
*nbCand1 = 0;
for(i=0;i<nbCandInit1;i++){
if(t_candid1[i]->isHET) continue;
for(j=0;j<t_candid1[i]->nbAtom;j++){
x = t_candid1[i]->x[j];
......@@ -202,7 +199,6 @@ void getInterface(struct pdb_values* pdbR, struct pdb_values* pdbL, int confID){
/* For each candidate residue of the receptor */
for(i=0;i<nbCandR;i++){
isClashed = 0;
if(t_candidateR[i]->isHET) continue;
for(j=0;j<t_candidateR[i]->nbAtom;j++){
x1 = t_candidateR[i]->x[j];
y1 = t_candidateR[i]->y[j];
......@@ -210,7 +206,6 @@ void getInterface(struct pdb_values* pdbR, struct pdb_values* pdbL, int confID){
/* For each candidate residue of the ligand */
for(k=0;k<nbCandL;k++){
if(t_candidateL[k]->isHET) continue;
for(l=0;l<t_candidateL[k]->nbAtom;l++){
x2 = t_candidateL[k]->x[l];
y2 = t_candidateL[k]->y[l];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment