Thursday, January 15, 2009

Linking to individual networks (updated)

If you want to link to STRING or STITCH from your website, you can use the following URLs for simple queries:

For STITCH, you can use names of chemicals:

http://stitch.embl.de/interactions/aspirin?species=9606

You can also use identifiers, e.g. SwissProt or ATC codes:

http://string.embl.de/interactions/DRD1_HUMAN
http://stitch.embl.de/interactions/A01AD05?species=9606

(The 9606 specifies that you want human interactions, see NCBI taxonomy.)

Update: You can also link to networks with multiple items. As STRING saves the user's preference for proteins/COG mode, it's better to specify the target mode.

http://string.embl.de/interactionsList/zgc:73075%0Dzgc:136854?targetmode=proteins
http://string.embl.de/interactionsList/zgc:73075%0Dzgc:136854?targetmode=cogs
http://string.embl.de/interactionsList/KOG0044%0DKOG3656?targetmode=cogs

http://stitch.embl.de/interactionsList/DRD1_HUMAN%0Dpergolide?species=9606

You construct the URL by concatenating the protein names with "%0D" or "%0A" (an encoded carriage return / newline character).

No comments:

Post a Comment