Here's an #RDKit #cheminformatics quiz for you all. What do you think this code will output?
from rdkit import Chem
mol = Chem.MolFromSmiles("C" + "C(C)(C)" * 50 + "C")
pat = Chem.MolFromSmarts("[$([CD4H0X4](-*)(-*)(-*)-*)]")
print(len(mol.GetSubstructMatches(pat)))
No cheating by actually running the code! :) Feel free to explain your reasoning in the comments.
