Skip to content

Instantly share code, notes, and snippets.

@felipealbrecht
Last active June 17, 2018 09:41
Show Gist options
  • Save felipealbrecht/820312cc302a25768c80 to your computer and use it in GitHub Desktop.
Save felipealbrecht/820312cc302a25768c80 to your computer and use it in GitHub Desktop.
List all peak experiments from the biosources "inflammatory macrophage" and "macrophage" from the Blueprint project
import xmlrpclib
url = "http://deepblue.mpi-inf.mpg.de/xmlrpc"
user_key = "anonymous_key"
server = xmlrpclib.Server(url, allow_none=True)
# List all peak experiments from the biosources "inflammatory macrophage" and "macrophage" from the Blueprint project
(status, experiments) = server.list_experiments(None, "peaks", "H3K4me3", ["inflammatory macrophage", "macrophage"], None, None, "BLUEPRINT Epigenome", user_key)
print experiments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment