Dear Paul,

yes, there are a few functions which allow getting/setting dihedral angle values, along with bond lengths and bond angles. They are exposed in both Python (in rdkit.Chem.rdMolTransforms) and C++ (MolTransforms namespace) APIs.
Here are the Python prototypes:

 * GetBondLength(conf, iAtomId, jAtomId) (only in this case, atoms need
   not be covalently bonded)
 * SetBondLength(conf, iAtomId, jAtomId, value)
 * GetAngleRad(conf, iAtomId, jAtomId, kAtomId)
 * SetAngleRad(conf, iAtomId, jAtomId, kAtomId, value)
 * GetAngleDeg(conf, iAtomId, jAtomId, kAtomId)
 * SetAngleDeg(conf, iAtomId, jAtomId, kAtomId, value)
 * GetDihedralRad(conf, iAtomId, jAtomId, kAtomId, lAtomId)
 * SetDihedralRad(conf, iAtomId, jAtomId, kAtomId, lAtomId, value)
 * GetDihedralDeg(conf, iAtomId, jAtomId, kAtomId, lAtomId)
 * SetDihedralDeg(conf, iAtomId, jAtomId, kAtomId, lAtomId, value)

You will need to download the latest RDKit source code from GitHub because those functions have been added only a couple of days ago.

Best,
Paolo


On 10/18/2013 03:20 PM, paul.czodrow...@merckgroup.com wrote:
Dear RDKitters,

is there a way to manipulate the dihedral angles (obviously, I'm dealing
with 3D molecules) in RDKit?


Cheers & Thanks,
Paul


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, you 
must not copy this message or attachment or disclose the contents to any other 
person. If you have received this transmission in error, please notify the 
sender immediately and delete the message and any attachment from your system. 
Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept 
liability for any omissions or errors in this message which may arise as a 
result of E-Mail-transmission or for damages resulting from any unauthorized 
changes of the content of this message and any attachment thereto. Merck KGaA, 
Darmstadt, Germany and any of its subsidiaries do not guarantee that this 
message is free of viruses and does not accept liability for any damages caused 
by any virus transmitted therewith.

Click http://www.merckgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss



--
==========================================================
Paolo Tosco, Ph.D.
Department of Drug Science and Technology
Via Pietro Giuria, 9 - 10125 Torino (Italy)
Tel: +39 011 670 7680 | Mob: +39 348 5537206
Fax: +39 011 670 7687 | E-mail: paolo.to...@unito.it
http://open3dqsar.org | http://open3dalign.org
==========================================================

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to