본문 바로가기
organic chemistry/0x05-tools

iupac smiles+ ][ create molecule from IUPAC name

by SpeeDr00t 2020. 1. 2.
반응형

iupac smiles+ ][ create molecule from IUPAC name

sudo apt-get install ruby-full
git clone https://github.com/nicolejung/IUPAC.git
cd IUPAC
cd test
ruby test.rb
--------------done--------------
Analysed: "7-ethyl-2,6-dimethylnonane"
iupac: "7-ethyl-2,6-dimethylnonane"
ruby: [[:C], [:C, [[:C]]], [:C], [:C], [:C], [:C, [[:C]]], [:C], [:C], [:C]]
smiles: "CC((C))CCCC((C))CCC"
view raw iupac1.sh hosted with ❤ by GitHub

 

 

반응형