Scaffold Network Generator
Repo
Usage
1 | git clone [email protected]:jach4/scaffold_network_generator.git sng |
Read the entire scaffold message from a file
1 | from data import * |
1 | 402344 |
Get the 1990th scaffold
1 | print(scaffold_smiles_idx(1990)) |
1 | c1n[nH]nc1-c1nnc(-c2cnns2)o1 |

1 | dic.smiles_scaffold[scaffold_smiles_idx(1990)] |
1 | dic_mol_atoms { |
The 111,921th molecule containing the 6th scaffold
1 | Chem.MolFromSmiles(smiles_from_line(111921)) |

Get the scaffold network of The 111,921th molecule
1 | scaffold_list = get_mol_graph(smiles_from_line(111921)).ls_mol_from_sng_u() |
1 | Draw.MolsToGridImage(scaffold_list) |
