# It1 fail with cns error "PLANe error encountered: Fewer than 4 atoms selected!"

**URL:** <https://ask.bioexcel.eu/t/it1-fail-with-cns-error-plane-error-encountered-fewer-than-4-atoms-selected/1738>\
**Category:** HADDOCK\
**Created:** [October 25, 2019, 7:15am UTC](https://ask.bioexcel.eu/t/it1-fail-with-cns-error-plane-error-encountered-fewer-than-4-atoms-selected/1738 "2019-10-25T07:15:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zsip029](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zsip029](https://ask.bioexcel.eu/u/zsip029)\
**Post date:** [October 25, 2019, 7:15am UTC](https://ask.bioexcel.eu/t/it1-fail-with-cns-error-plane-error-encountered-fewer-than-4-atoms-selected/1738/1 "2019-10-25T07:15:03Z")

</div>

Hi, everyone.

I am trying to run protein-dna docking in local serve. But all jobs in it1 stage failed with the error in \*\*\*it1\_refine\_1.out that “PLANe error encountered: Fewer than 4 atoms selected!”!

So what do cause this issue? Thanks very much!!

---

<div class="post-metadata">

**Author:** ![honoratorv](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/honoratorv/32/672_2.png) [@honoratorv](https://ask.bioexcel.eu/u/honoratorv)\
**Post date:** [October 25, 2019, 7:45am UTC](https://ask.bioexcel.eu/t/it1-fail-with-cns-error-plane-error-encountered-fewer-than-4-atoms-selected/1738/2 "2019-10-25T07:45:17Z")

</div>

Hi! First, check if the restraints you are using are correct (residue numbers, segids, etc), then if you are using dna restrains, check if your dna-rna\_restraints.def is correct.

---

<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:** [October 25, 2019, 8:47am UTC](https://ask.bioexcel.eu/t/it1-fail-with-cns-error-plane-error-encountered-fewer-than-4-atoms-selected/1738/3 "2019-10-25T08:47:17Z")

</div>

One more detail: While the server automatically generate a `dna-rna_restraints.def` file customised for your DNA, when running locally you will have to edit it manually.

The file can be found in the `protocols` directory and needs to be placed for the docking into the `data/sequence` directory of your run.

Alternatively turn off those restraints (not recommended) in run.cns:

```auto
{======================DNA-RNA restraints ============================}
{* Use DNA/RNA restraints (dna-rna_restraints.def in data/sequence)? *}
{+ choice: true false +}
{===>} dnarest_on=false;

```
