Entering edit mode
6.8 years ago
arronar
▴
290
Hi,
I want to create a script that will check if specific pairs of genes have an interaction. So let's say for example that we want to check if these genes/proteins ACTA1, TNNC2
interact each other.
Through STRING's WEB interface, and by choosing multiple proteins on the left menu, the results show that these two proteins might interact.
Since that the web interface is not accessible through a script, I tried to use the REST API to retrieve this info but without any success. REST-API always returns a NULL table when trying
http://string-db.org/api/tsv/interactionsList?species=9606&identifiers=ACTA1%TNNC2
OR
http://string-db.org/api/tsv/interactorsList?species=9606&identifiers=ACTA1%TNNC2
Am I doing something wrong?
And is there any way to automatically retrieve these identifiers for a list of gene/protein names?
Use the resolve API:
If you want only the ID (for example to reuse in a script) then:
I realized that some genes/proteins have more than one string identifier. Should check for every one of them if there is a result of interaction with the other identifier or checking one identifier is enough?
You have a list of genes and a gene can produce more than one protein. The question is what level of resolution do you need: gene level or protein isoform level ? If all you need is check if a given gene pair interacts via any of their proteins then you can stop as soon as you've found an interacting protein pair.
Thank you very much Jean.