# HADDOCK2.4 Local installation error

**URL:** <https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463>\
**Category:** HADDOCK\
**Created:** [February 18, 2022, 3:14pm UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463 "2022-02-18T15:14:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvbs](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jvbs](https://ask.bioexcel.eu/u/jvbs)\
**Post date:** [February 18, 2022, 3:14pm UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463/1 "2022-02-18T15:14:16Z")

</div>

I have installed Haddock2.4, CNS1.3, with a local Python2.7 and few other additional packages for Haddock.  
Python2 is included in the Path too.  
Since its a local desktop, there are no queues.  
Installation and sourcing works fine.  
When I start running a test job with my own structures, the inputs are created and the job runs till it1 refinement.  
In between, I get the following error and the job waits for queue.

```
calculating structure 6
  queue command:
 ------------------------------------------------------------

```

## /bin/csh haddock\_trials\_runfr320\_4w.job Structure 5 10: running Structure 6 4: running

Queue command failed, retrying in 1920 seconds  
QUEUE\_DOWN  
Traceback (most recent call last):  
File “./tools/make\_contacts.py”, line 86, in   
\_calculate\_contacts(executable, struct, cutoff)  
File “./tools/make\_contacts.py”, line 32, in \_calculate\_contacts  
p = Popen([executable, pdbfile, d\_cutoff], stdout=PIPE)  
File “/usr/lib/python2.7/subprocess.py”, line 394, in **init**  
errread, errwrite)  
File “/usr/lib/python2.7/subprocess.py”, line 1047, in \_execute\_child  
raise child\_exception  
OSError: [Errno 8] Exec format error  
foreach: No match.

I haven’t changed anything in run.cns apart from reducing the number of structures to evaluate.  
I thought the error is due to Python and so I tried with both python2.7.17 and python2.7.18. I even tried on a different desktop.  
The error still persists.

Any help would be very useful..

Sangeetha

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [February 18, 2022, 4:02pm UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463/2 "2022-02-18T16:02:35Z")

</div>

Try to do a `make clean` followed by `make all` in the haddock installation directory.

It looks like the archive contains already an executable for some tools that needs to be compiled for your system

---

<div class="post-metadata">

**Author:** ![jvbs](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jvbs](https://ask.bioexcel.eu/u/jvbs)\
**Post date:** [February 21, 2022, 6:13am UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463/3 "2022-02-21T06:13:32Z")

</div>

Thank you for solving the issues.  
Now the installation works fine.

I have another question regarding the definition of passive resides.  
I am working with an IDR and I know the active residues based on a chemical shift experiment.  
However, since the protein is only ~40aa long, all residues have solvent accessibility \>40%.

I have gone through the literature and I am well aware that the definition of passive residues only helps the docking process and does not directly affect the scoring.  
Also, it is not usually advisable to define the whole protein as passive.

Any guidance on how to define my passive residues?  
Being a small protein, is it ok to include all residues as passive or can I entirely ignore defining any passive residues?

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [February 21, 2022, 7:53am UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463/4 "2022-02-21T07:53:47Z")

</div>

It all depends on how confident you are with you active residue definition from NMR.

The more passive you define the more computational time it will cost.

You could consider including only a few neighbouring residues.

Also remember that HADDOCK will not fold your peptide if this is what is happening…

---

<div class="post-metadata">

**Author:** ![jvbs](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jvbs](https://ask.bioexcel.eu/u/jvbs)\
**Post date:** [March 5, 2022, 7:15am UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463/5 "2022-03-05T07:15:12Z")

</div>

I have an ensemble of conformations that I use for docking so I am not expecting the peptide to fold during docking.

I still have an issue with defining the active/passive residues.

I am certain of few residues expressing chemical shifts after complex formation and so I define them as active residues for one of the proteins. I do not know any actives on the interacting partner.  
Also, I would like to see which structure from the ensemble would form a complex by interacting through the known actives.

In simple words, I would like to do a blind docking to see which complex satisfies the experimental data.

Is it possible to perform blind docking with Haddock?

Can I ignore defining any active residues and define all of them as passive and that could be a blind docking?

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [March 6, 2022, 5:05pm UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463/6 "2022-03-06T17:05:37Z")

</div>

On the server you can easily define all solvent accessible residues as passive for the second molecule (there is a checkbox for that).

And use your few active residues for the first molecule.

---

<div class="post-metadata">

**Author:** ![jvbs](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jvbs](https://ask.bioexcel.eu/u/jvbs)\
**Post date:** [March 8, 2022, 8:01am UTC](https://ask.bioexcel.eu/t/haddock2-4-local-installation-error/3463/7 "2022-03-08T08:01:03Z")

</div>

Thank you for all your suggestions.
