Skip to content

Instantly share code, notes, and snippets.

@slowkow
Created May 16, 2018 19:53
Show Gist options
  • Save slowkow/c7e46c67d501cbd238221bba93be23cc to your computer and use it in GitHub Desktop.
Save slowkow/c7e46c67d501cbd238221bba93be23cc to your computer and use it in GitHub Desktop.
Download all human protein-protein interactions from IMEX.
#!/usr/bin/env bash
#
# See here for more information: https://www.ebi.ac.uk/intact/imex/home.xhtml
# All human protein interactions.
# Query: taxidA:9606 AND taxidB:9606
URL='https://www.ebi.ac.uk/intact/imex/binaryDownload?&serviceURL=http://www.ebi.ac.uk/Tools/webservices/psicquic/imex/webservices/current/search/&query=taxidA:9606%20AND%20taxidB:9606&format=tab27&conversationContext=1'
# This downloads more than 1G of data and compresses it.
curl "$URL" | gzip > imex.txt.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment