parser=OptionParser(usage="Usage: %prog\n%prog [options] filename\n\nWhen run with no arguments, it launches the user interface. If any arguments are specified, it runs in command line mode.")
parser.add_option('--pdbid',default=None,dest='pdbid',metavar='PDBID',help='PDB id to retrieve from RCSB [default: None]')
parser.add_option('--url',default=None,dest='url',metavar='URL',help='URL to retrieve PDB from [default: None]')
parser.add_option('--add-atoms',default='all',dest='atoms',choices=('all','heavy','hydrogen','none'),help='which missing atoms to add: all, heavy, hydrogen, or none [default: all]')
parser.add_option('--keep-heterogens',default='all',dest='heterogens',choices=('all','water','none'),metavar='OPTION',help='which heterogens to keep: all, water, or none [default: all]')
...
...
@@ -1046,37 +1048,54 @@ def main():
parser.add_option('--positive-ion',default='Na+',dest='positiveIon',choices=('Cs+','K+','Li+','Na+','Rb+'),metavar='ION',help='positive ion to include in the water box: Cs+, K+, Li+, Na+, or Rb+ [default: Na+]')
parser.add_option('--negative-ion',default='Cl-',dest='negativeIon',choices=('Cl-','Br-','F-','I-'),metavar='ION',help='negative ion to include in the water box: Cl-, Br-, F-, or I- [default: Cl-]')
parser.add_option('--ionic-strength',type='float',default=0.0,dest='ionic',metavar='STRENGTH',help='molar concentration of ions to add to the water box [default: 0.0]')