AutoDockTools GUI has an option to Set Number of Active Torsions with options for fewest atoms and most atoms. This is explained in the AutoDockTools tutorial
http://autodock.scripps.edu/faqs-help/tutorial/using-autodock-4-with-autodocktools/2012_ADTtut.pdf
I want to apply the same function using a scirpt. This would allow for setting a group of ligands to all have the same number of torsions in a click of a button instead of using the GUI to set each one. Has anyone else done this?
I'm familiar with the prepare_ligand4.py script. I don't think it has the functionality that I'm trying to get, or if it does I don't know about it.