smiles
canonical_smiles_wo_salt(smiles)
cached
¶
Get the canonical SMILES without salt from the input SMILES.
Salt is a short part separated by "." in the SMILES. Shared function with dti-pytorch
Source code in src/bio_data_to_db/utils/smiles.py
polars_canonical_smiles_wo_salt(df, *, smiles_col='smiles', out_col='canonical_smiles_wo_salt')
¶
Apply canonical_smiles_wo_salt on the DataFrame with tqdm.