epam / epam/Indigo

it takes long time to add map for the reaction?

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
AAM Priority: Medium
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

it takes long time to add map for the reaction.
```

```
![图片](https://user-images.githubusercontent.com/7656130/79110118-51e48880-7dac-11ea-95a8-afecfeecc359.png)

```py
%%time
from indigo import *
indigo = Indigo()
def addmapbyINDIGO(rxnsmi):
smi = rxnsmi
rxn = indigo.loadReaction(smi)
rxn.automap('discard ignore_charges ignore_isotopes ignore_valence ignore_radicals')
# rxn.automap()

rxnsmi_map_indigo = rxn.smiles()
return rxnsmi_map_indigo

rxnsmi='CC(C)(C)c1cc(CCc2cc(CCc3cc(CO)cc(CCc4cc(CCc5cc(C(C)(C)C)cc(C(C)(C)C)c5)cc(CCc5cc(C(C)(C)C)cc(C(C)(C)C)c5)c4)c3)cc(CCc3cc(C(C)(C)C)cc(C(C)(C)C)c3)c2)cc(C(C)(C)C)c1>>CC(C)(C)c1cc(CCc2cc(CCc3cc(C=O)cc(CCc4cc(CCc5cc(C(C)(C)C)cc(C(C)(C)C)c5)cc(CCc5cc(C(C)(C)C)cc(C(C)(C)C)c5)c4)c3)cc(CCc3cc(C(C)(C)C)cc(C(C)(C)C)c3)c2)cc(C(C)(C)C)c1'
tem=addmapbyINDIGO(rxnsmi).split()[0]
print(tem)
```

when I spend RDT tools to add map, it spend less time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.