intermine 0.98.01

Sign up to get free protection for your applications and to get access to all the features.
metadata ADDED
@@ -0,0 +1,192 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: intermine
3
+ version: !ruby/object:Gem::Version
4
+ hash: 405
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 98
9
+ - 1
10
+ version: 0.98.01
11
+ platform: ruby
12
+ authors:
13
+ - Alex Kalderimis
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-08-01 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: json
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ description: |
36
+ = Webservice Client Library for InterMine Data-Warehouses
37
+
38
+ This library provides an interface to the InterMine webservices
39
+ API. It makes construction and execution of queries more
40
+ straightforward, safe and convenient, and allows for results
41
+ to be used directly in Ruby code. As well as traditional row based
42
+ access, the library provides an object-orientated record result
43
+ format (similar to ActiveRecords), and allows for fast, memory
44
+ efficient iteration of result sets.
45
+
46
+ == Example
47
+
48
+ Get all protein domains associated with a set of genes and print their names:
49
+
50
+ require "intermine/service"
51
+
52
+ Service.new("www.flymine.org/query").
53
+ new_query("Pathway")
54
+ select(:name).
55
+ where("genes.symbol" => ["zen", "hox", "h", "bib"]).
56
+ each_row { |row| puts row[:name]}
57
+
58
+ == Who is this for?
59
+
60
+ InterMine data warehouses are typically constructed to hold
61
+ Biological data, and as this library facilitates programmatic
62
+ access to these data, this install is primarily aimed at
63
+ bioinformaticians. In particular, users of the following services
64
+ may find it especially useful:
65
+ * FlyMine (http://www.flymine.org/query)
66
+ * YeastMine (http://yeastmine.yeastgenome.org/yeastmine)
67
+ * RatMine (http://ratmine.mcw.edu/ratmine)
68
+ * modMine (http://intermine.modencode.org/release-23)
69
+ * metabolicMine (http://www.metabolicmine.org/beta)
70
+
71
+ == How to use this library:
72
+
73
+ We have tried to construct an interface to this library that
74
+ does not require you to learn an entirely new set of concepts.
75
+ As such, as well as the underlying methods that are common
76
+ to all libraries, there is an additional set of aliases and sugar
77
+ methods that emulate the DSL style of SQL:
78
+
79
+ === SQL style
80
+
81
+ service = Service.new("www.flymine.org/query")
82
+ service.model.
83
+ table("Gene").
84
+ select("*", "pathways.*").
85
+ where(:symbol => "zen").
86
+ order_by(:symbol).
87
+ outerjoin(:pathways).
88
+ each_row do |r|
89
+ puts r
90
+ end
91
+
92
+ === Common InterMine interface
93
+
94
+ service = Service.new("www.flymine.org/query")
95
+ query = service.new_query("Gene")
96
+ query.add_views("*", "pathways.*")
97
+ query.add_constraint("symbol", "=", "zen")
98
+ query.add_sort_order(:symbol)
99
+ query.add_join(:pathways)
100
+ query.each_row do |r|
101
+ puts r
102
+ end
103
+
104
+ For more details, see the accompanying documentation and the unit tests
105
+ for interface examples. Further documentation is available at www.intermine.org.
106
+
107
+ == Support
108
+
109
+ Support is available on our development mailing list: dev@intermine.org
110
+
111
+ == License
112
+
113
+ This code is Open Source under the LGPL. Source code for all InterMine code
114
+ can be checked out from svn://subversion.flymine.org/flymine
115
+
116
+ email:
117
+ - dev@intermine.org
118
+ executables: []
119
+
120
+ extensions: []
121
+
122
+ extra_rdoc_files: []
123
+
124
+ files:
125
+ - lib/intermine/lists.rb
126
+ - lib/intermine/model.rb
127
+ - lib/intermine/query.rb
128
+ - lib/intermine/results.rb
129
+ - lib/intermine/service.rb
130
+ - lib/intermine/version.rb
131
+ - test/data/lists.json
132
+ - test/data/model.json
133
+ - test/data/resultobjs.json
134
+ - test/data/resultrow.json
135
+ - test/data/resultset.json
136
+ - test/data/testmodel_model.xml
137
+ - test/live_test.rb
138
+ - test/test.rb
139
+ - test/test_helper.rb
140
+ - test/test_lists.rb
141
+ - test/test_model.rb
142
+ - test/test_query.rb
143
+ - test/test_result_row.rb
144
+ - test/test_results.rb
145
+ - test/test_service.rb
146
+ - test/test_sugar.rb
147
+ - test/unit_tests.rb
148
+ - MANIFEST
149
+ - LICENCE
150
+ - Rakefile
151
+ - README.rdoc
152
+ - Gemfile
153
+ has_rdoc: true
154
+ homepage: http://www.intermine.org
155
+ licenses:
156
+ - LGPL
157
+ post_install_message:
158
+ rdoc_options:
159
+ - --title
160
+ - InterMine Webservice Client
161
+ - --main
162
+ - README
163
+ - --line-numbers
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ none: false
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ hash: 3
172
+ segments:
173
+ - 0
174
+ version: "0"
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ hash: 3
181
+ segments:
182
+ - 0
183
+ version: "0"
184
+ requirements: []
185
+
186
+ rubyforge_project: intermine
187
+ rubygems_version: 1.3.7
188
+ signing_key:
189
+ specification_version: 3
190
+ summary: Webservice Client Library for InterMine Data-Warehouses
191
+ test_files:
192
+ - test/unit_tests.rb