ChatG-PPi-T: Finding Interactions with OpenAI
Network around the Protein Tumor Necrosis Factor Alpha

ChatG-PPi-T: Finding Interactions with OpenAI


In an earlier article, I’d posted about some mixed results in using the different LLMs provided by OpenAI to answer questions about Protein-Protein Interactions.? At the time, the results from ChatGPT itself were actually reasonably compelling, but it wasn’t possible to access them via API, which limited the overall utility in building larger networks. My colleague Guannan G. pointed out that this situation has changed, and I’m pleased to note that it is now possible to get some reasonable interaction networks built using this model through the API.


The syntax for the prompts is a little bit different, but in a helpful way. You can prompt the model to consider that you’d generally like tables as output, and prefer canonical gene symbols (which makes merging with other data much easier). Then, you just ask for known associations and what those associations are.? Something that is especially interesting about this model is the ability to provide a context for the interaction. Rather than just asking it for whatever interaction is most published, you can ask for interactions in the lung, or in a cell type of interest, like the macrophage. Returning the type of interaction will give you a brief description that helps you interpret the network.


As a small example, here is a notebook that demonstrates this functionality in Python. I’ve dubbed it “ChatGPPiT” for short :-). You’ll need to have an OpenAI API key, and also to have the Python packages for pandas, networkx, and pyvis, although you should be able to do enough with the free tier of OpenAI to make a test of it.? Then, just modify the notebook to specify your gene of interest, the number of proteins to return, and a context.? This context is a plain English description, not a real ontology, so feel free to experiment with tissues, cell types, and diseases to see what happens.


The script will then take one pass at the request, and then a pass at each of the returned proteins, so that you will get a network an extra degree removed from your original protein.? The results will then be available as an HTML page with an interactive network - you can hover over the edges and even get the kind of interaction that was detected!

No alt text provided for this image
Showing an interaction via mouseover


Given the issues with hallucination in ChatGPT, I don’t know if I would trust this outright, but it’s an interesting step, and I imagine it can be combined with curated, structured resources to either provide tailored results for a certain context or to help interpret edges in otherwise unannotated PPi networks. And of course, remember that this approach sends data to OpenAI, so do not use this with anything sensitive or confidential!

Prof Frederic Cadet

Co-founder & Chairman of the Board at PEACCEL

2 年

Thanks for posting Jon Hill

回复

Interesting ??

回复

要查看或添加评论,请登录

Jon Hill的更多文章

  • Partners in Science: Evolving from Student to Scientific Leader

    Partners in Science: Evolving from Student to Scientific Leader

    At Boehringer Ingelheim, our commitment to engaging with our local communities is deeply ingrained in our corporate…

    1 条评论
  • Summarization and Prompting

    Summarization and Prompting

    I recently came across a preprint from Griffin Adams et al that covered a new approach called Chain of Density for…

    2 条评论
  • Don’t Confuse Consistency with Quality

    Don’t Confuse Consistency with Quality

    Earlier this summer, I’d decided that it would be a good idea to learn Microsoft Power BI. This is a tool used to…

    6 条评论
  • Leading Change

    Leading Change

    During recent travel, I had the opportunity to read Leading Change, by John Kotter, which is a sort of "business…

    1 条评论
  • What if LLMs are GOOD for security?

    What if LLMs are GOOD for security?

    I had recently shared some thoughts on appropriate security access for LLMs on confidential data, but what if LLMs…

    1 条评论
  • LLMs and Sensitive Data

    LLMs and Sensitive Data

    My colleague Victoria Gamerman, PhD recently shared an article from Tamer Chowdhury about architecture for using…

    1 条评论
  • The Six (Prompting) Hats

    The Six (Prompting) Hats

    I had previously shared some impressions on the Six Thinking Hats method which was recommended by a colleague as a way…

    1 条评论
  • Seeing Images in Single Cell Data (Pareidolia)

    Seeing Images in Single Cell Data (Pareidolia)

    This post will describe a bit of an unusual application for generative AI. To be honest, I’m still not sure if it falls…

  • PowerPoint to Email with OpenAI

    PowerPoint to Email with OpenAI

    I was having a conversation with a colleague during his recent visit to the U.S.

    9 条评论
  • Using Chat-GPT to Generate Structured Biological Knowledge

    Using Chat-GPT to Generate Structured Biological Knowledge

    After my previous post on using Chat-GPT to explain biological findings, I was interested in digging in a bit more…

    11 条评论

社区洞察

其他会员也浏览了