forked from intermine/intermine-ws-bio-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
52 lines (34 loc) · 1.74 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
= Biological Extensions to the InterMine Webservice Client Library
This library is a set of extensions to the InterMine Webservices client,
providing access for data in biological formats. It provides
a wrapper class interminebio.SequenceQuery that can be used to gain access
to biologically specific data.
== Example
Get all sequences for proteins on "h", "r", "eve", "bib" and "zen":
from intermine.webservice import Service
from interminebio import SequenceQuery
s = Service("www.flymine.org/query")
q = SequenceQuery(s, "Gene")
syms = ["h", "r", "eve", "bib", "zen"]
print q.select_sequence("proteins").where(s.model.Gene.symbol == syms).fasta()
Process the locations of these genes one at a time:
for line in q.select_sequence("Gene").where(s.model.Gene.symbol == syms).bed():
process(line)
== Who is this for?
InterMine data warehouses are typically constructed to hold
Biological data, and as this library facilitates programmatic
access to these data, this install is primarily aimed at
bioinformaticians. In particular, users of the following services
may find it especially useful:
* FlyMine (http://www.flymine.org/query)
* YeastMine (http://yeastmine.yeastgenome.org/yeastmine)
* RatMine (http://ratmine.mcw.edu/ratmine)
* modMine (http://intermine.modencode.org/release-23)
* metabolicMine (http://www.metabolicmine.org/beta)
These extensions are aimed at bioinformaticians looking to integrate
these sources of data into other workflows.
For details on constructing queries, see the intermine documentation.
== Support
Support is available on our development mailing list: [email protected]
== License
All code in this project is dual licensed under the LGPL version 3 license and the BSD 2-clause license