[BiO BB] [CNS] How to pass command line arguments to cns-scripts

Kalidas Yeturu ykalidas at gmail.com
Mon May 7 01:03:59 EDT 2007


Hi All
 I am trying to use CNS-crystallography s/w for the task of computing
interaction energy between a ligand and a protein.
 For this, I need to pass <protein-file> and <ligand-file> as parameters to
<file.inp> required for 'cns_solve'.

Can anyone please let me know how to accomplish the following simple task:

Example:

cns_solve < test.inp <arg-1> <arg-2>

where:
test.inp (looks shall look like this)

define(...)
...
var1=<arg-1>
var2=<arg-2>
...
stop

Thanking You

With Regards
Kalidas Y
http://ssl.serc.iisc.ernet.in/~kalidas



More information about the BBB mailing list