geekan / HowToLiveLonger

程序员延寿指南 | A programmer's guide to live longer
The Unlicense
29.96k stars 2.1k forks source link

SS-1: HowToLiveLonger-GlobalChem Connection #100

Open Sulstice opened 2 years ago

Sulstice commented 2 years ago

Hello,

I keep track of drug and chemical compounds relevant to different communities. And distribute it on GitHub as a knowledge graph.

Recently, I came across your list and listed in section 6.1.5 and I want to add it as a relevant chemical list to my network so I can design better drugs for everyone with information from everyone. I would like to ask for your input into my interpretation of your list and allow permission for me to add this data.

Still working on the chinese translation, please forgive me there:

Github (English): https://github.com/Sulstice/global-chem Github (Chinese): https://github.com/Sulstice/global-chem/blob/master/README.chinese-simp.md

Thank you.


class HowToLiveLonger(object):

    ___version__ = '0.0.1'

    def __init__(self):
        self.name = 'how_to_live_longer'

    def get_smiles(self):

    smiles = {
        'metformin': 'CN(C)C(=N)N=C(N)N',
        'glucosamine': 'NC1C(OC(C(O)C1O)CO)O',
        'chondroitin_sulfate: 'CC(=O)NC1C(C(C(OC1O)OS(=O)(=O)O)O)OC2C(C(C(C(O2)C(=O)O)O)O)O',
        'spermidine': 'C(CCNCCCN)CN',
    }

If there are any I am missing or you would like to add then please me know

Cheers, -Sul

geekan commented 2 years ago

LGTM. You are more than welcome to use any part of this repo. There are still plenty of chemical compounds to add, so stay tuned for this project.

Sulstice commented 2 years ago

Hi @geekan I added your list into my software. Released in a new version. I didn't exactly know how to categorize it in our tree network. Could you perhaps maybe give me a keyword to define your list? i.e medicinal, herbal.

Is it okay to categorize this under "chinese" for you?

Screen Shot 2022-05-03 at 6 41 55 PM

`