Back to TaskOperations page.

DisallowIfNonnative

Restrict design to not include a residue as an possibility in the task at a position unless it is the starting residue. If resnum is left as 0, the restriction will apply throughout the pose.

 <DisallowIfNonnative name="(&string)" resnum="(0 &integer)" disallow_aas="(&string)" />
  • disallow_aas takes a string of one letter amino acid codes, no separation needed. For example disallow_aas=GCP would prevent Gly, Cys, and Pro from being designed unless they were the native amino acid at a position.

This task is useful when you are designing in a region that has Gly and Pro and you do not want to include them at other positions that aren't already Gly or Pro.

Note: "native" means the current residue, not the starting "-s" residue or "-in:file:native".

See Also