I was doing some working in CDK and was pleasantly surprised at how easy it is to calculate descriptors on short peptides. The code to do this is actually only three lines! Adding in a bug fix though, it becomes four. Here's the code to calculate every QSAR descriptor on a peptide
The complete code with imports and outputting the results is shown below:
The complete code with imports and outputting the results is shown below: