Created
February 10, 2010 08:40
-
-
Save chapmanb/300147 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from intermine import Intermine, ExperimentQueryBuilder | |
builder = ExperimentQueryBuilder() | |
builder.add_attributes(["submission_id", "experiment_name"]) | |
builder.add_filter("organism", "Caenorhabditis elegans") | |
builder.free_text_filter("ChIP-seq") | |
server = Intermine("http://intermine.modencode.org") | |
table = server.search(builder) | |
print table.dtype.names | |
print table | |
# ('submission_id', 'experiment_name') | |
# [('582', 'ChIP-Seq Identification of C. elegans TF Binding Sites') | |
# ('584', 'ChIP-Seq Identification of C. elegans TF Binding Sites') | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment