biointerchange 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. data/.travis.yml +3 -3
  2. data/Gemfile +2 -1
  3. data/README.md +192 -7
  4. data/Rakefile +1 -1
  5. data/VERSION +1 -1
  6. data/examples/vocabulary.rb +23 -0
  7. data/generators/javaify.rb +131 -0
  8. data/generators/pythonify.rb +67 -0
  9. data/generators/rdfxml.rb +152 -44
  10. data/lib/biointerchange/core.rb +2 -1
  11. data/lib/biointerchange/exceptions.rb +27 -0
  12. data/lib/biointerchange/genomics/gff3_rdf_ntriples.rb +21 -18
  13. data/lib/biointerchange/gff3o.rb +495 -0
  14. data/lib/biointerchange/gvf1o.rb +730 -0
  15. data/lib/biointerchange/registry.rb +2 -2
  16. data/lib/biointerchange/sio.rb +10951 -5845
  17. data/lib/biointerchange/sofa.rb +2171 -1300
  18. data/spec/exceptions_spec.rb +6 -0
  19. data/spec/gff3_rdfwriter_spec.rb +7 -1
  20. data/spec/text_mining_pdfx_xml_reader_spec.rb +6 -0
  21. data/spec/text_mining_pubannos_json_reader_spec.rb +6 -0
  22. data/spec/text_mining_rdfwriter_spec.rb +6 -0
  23. data/supplemental/java/biointerchange/pom.xml +45 -0
  24. data/supplemental/java/biointerchange/src/main/java/org/biointerchange/App.java +58 -0
  25. data/supplemental/java/biointerchange/src/main/java/org/biointerchange/AppSIO.java +49 -0
  26. data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GFF3O.java +647 -0
  27. data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GVF1O.java +946 -0
  28. data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SIO.java +15390 -0
  29. data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SOFA.java +2968 -0
  30. data/supplemental/java/biointerchange/src/test/java/org/biointerchange/AppTest.java +38 -0
  31. data/supplemental/python/biointerchange/__init__.py +4 -0
  32. data/supplemental/python/biointerchange/gff3o.py +581 -0
  33. data/supplemental/python/biointerchange/gvf1o.py +864 -0
  34. data/supplemental/python/biointerchange/sio.py +11772 -0
  35. data/supplemental/python/biointerchange/sofa.py +2422 -0
  36. data/supplemental/python/example.py +19 -0
  37. data/supplemental/python/setup.py +13 -0
  38. data/web/about.html +3 -0
  39. data/web/api.html +219 -0
  40. data/web/index.html +4 -3
  41. data/web/ontologies.html +109 -0
  42. data/web/webservices.html +1 -0
  43. metadata +144 -117
  44. data/docs/exceptions_readme.txt +0 -13
  45. data/lib/biointerchange/gff3.rb +0 -135
@@ -0,0 +1,19 @@
1
+ import biointerchange
2
+ from biointerchange import *
3
+
4
+ # Get the URI of an ontology term by label:
5
+ GFF3O.seqid()
6
+
7
+ # Ambiguous labels will return an array of URIs:
8
+ # "start" can refer to a sub-property of "feature_properties" or "target_properties"
9
+ GFF3O.start()
10
+ # "feature_properties" can be either a datatype or object property
11
+ GFF3O.feature_properties()
12
+
13
+ # Use build-in method "is_datatype_property" to resolve ambiguity:
14
+ # (Note: there is exactly one item in the result set, so the selection of the first item is acceptable.)
15
+ feature_properties = filter(lambda uri: GFF3O.is_datatype_property(uri), GFF3O.feature_properties())[0]
16
+
17
+ # Use build-in method "with_parent" to pick properties based on their context:
18
+ GFF3O.with_parent(GFF3O.start(), feature_properties)
19
+
@@ -0,0 +1,13 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name = "biointerchange",
5
+ version = "0.1.2",
6
+ author = "Joachim Baran, Geraint Duck",
7
+ description = ( "Wrapper for easy access to GFF3O, GVF1O, SIO and SOFA.",
8
+ "Part of the BioInterchange project." ),
9
+ license = "MIT",
10
+ url = "http://www.biointerchange.org",
11
+ packages = find_packages()
12
+ )
13
+
data/web/about.html CHANGED
@@ -40,6 +40,7 @@
40
40
  <div class="nav-collapse collapse">
41
41
  <ul class="nav">
42
42
  <li><a href="index.html">Home</a></li>
43
+ <li><a href="ontologies.html">Ontologies</a></li>
43
44
  <li class="active"><a href="about.html">About</a></li>
44
45
  <!--
45
46
  <li class="dropdown">
@@ -69,6 +70,8 @@
69
70
  <div class="span12">
70
71
  <h2>About BioInterchange</h2>
71
72
  <p>BioInterchange was conceived and designed during <a href="http://biosciencedbc.jp">NBDC</a>/<a href="http://dbcls.rois.ac.jp">DBCLS</a>'s <a href="http://2012.biohackathon.org">BioHackathon 2012</a>. Architecture and RDF serialization implementations were provided by <a href="http://joachimbaran.wordpress.com">Joachim Baran</a>, <a href="http://www.cs.man.ac.uk/~duckg">Geraint Duck</a> provided JSON and XML deserialization implementations and contributed to architecture decisions, guidance on ontology use and applications were given by <a href="http://compbio.ucdenver.edu/Hunter_lab/Cohen/index.shtml">Kevin B. Cohen</a> and <a href="http://dumontierlab.com">Michel Dumontier</a>, where Michel brought forward and extended the <a href="http://code.google.com/p/semanticscience/wiki/SIO">Semanticscience Integrated Ontology</a> (SIO).</p>
73
+ <h2>Contact</h2>
74
+ <p><a href="http://joachimbaran.wordpress.com">Joachim Baran</a><br /><i>joachim.baran</i><b>&#64;</b><i>gmail.com</i></p>
72
75
  </div>
73
76
  </div>
74
77
 
data/web/api.html ADDED
@@ -0,0 +1,219 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>BioInterchange</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta name="description" content="BioInterchange ontologies page">
8
+ <meta name="author" content="Joachim Baran">
9
+
10
+ <!-- Le styles -->
11
+ <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
12
+ <style type="text/css">
13
+ body {
14
+ padding-top: 60px;
15
+ padding-bottom: 40px;
16
+ }
17
+ </style>
18
+ <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
19
+
20
+ <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
21
+ <!--[if lt IE 9]>
22
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
23
+ <![endif]-->
24
+
25
+ <!-- Le fav and touch icons -->
26
+ <!-- <link rel="shortcut icon" href="../assets/ico/favicon.ico"> -->
27
+ </head>
28
+
29
+ <body>
30
+
31
+ <div class="navbar navbar-inverse navbar-fixed-top">
32
+ <div class="navbar-inner">
33
+ <div class="container">
34
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
35
+ <span class="icon-bar"></span>
36
+ <span class="icon-bar"></span>
37
+ <span class="icon-bar"></span>
38
+ </a>
39
+ <a class="brand" href="index.html">BioInterchange</a>
40
+ <div class="nav-collapse collapse">
41
+ <ul class="nav">
42
+ <li class="active"><a href="index.html">Home</a></li>
43
+ <li><a href="ontologies.html">Ontologies</a></li>
44
+ <li><a href="about.html">About</a></li>
45
+ <!--
46
+ <li class="dropdown">
47
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
48
+ <ul class="dropdown-menu">
49
+ <li><a href="#">To</a></li>
50
+ <li><a href="#">Be</a></li>
51
+ <li><a href="#">Done</a></li>
52
+ <li><a href="#">Dude</a></li>
53
+ <li class="divider"></li>
54
+ <li class="nav-header">API</li>
55
+ <li><a href="#">API usage information</a></li>
56
+ <li><a href="#">Implementing new readers/writers</a></li>
57
+ </ul>
58
+ </li>
59
+ -->
60
+ </ul>
61
+ </div><!--/.nav-collapse -->
62
+ </div>
63
+ </div>
64
+ </div>
65
+
66
+ <div class="container">
67
+
68
+ <!-- Example row of columns -->
69
+ <div class="row">
70
+ <div class="span12">
71
+ <h2>Application Programming Interface</h2>
72
+ <p>BioInterchange offers Application Programming Interfaces (APIs) for multiple programming languages, but only Ruby is supporting the full range of functinality that BioInterchange provides. For Python and Java, a subset of the Ruby API is available: vocabulary wrappers for convenient access to ontologies used in BioInterchange.</p>
73
+ <h3>Ruby API</h3>
74
+ <h4>The BioInterchange Framework</h4>
75
+ <em>TODO... sorry.</em>
76
+ <h4>Vocabulary Wrappers</h4>
77
+
78
+ <h3>Python API</h3>
79
+ <pre>
80
+ sudo easy_install rdflib
81
+ sudo easy_install http://www.biointerchange.org/eggs/biointerchange-0.1.2-py2.7.egg
82
+ </pre>
83
+ Usage example (see also <a href="https://github.com/BioInterchange/BioInterchange/blob/master/supplemental/python/example.py">example.py</a>):
84
+ <pre>
85
+ import biointerchange
86
+ from biointerchange import *
87
+
88
+ # Get the URI of an ontology term by label:
89
+ GFF3O.seqid()
90
+
91
+ # Ambiguous labels will return an array of URIs:
92
+ # "start" can refer to a sub-property of "feature_properties" or "target_properties"
93
+ GFF3O.start()
94
+ # "feature_properties" can be either a datatype or object property
95
+ GFF3O.feature_properties()
96
+
97
+ # Use build-in method "is_datatype_property" to resolve ambiguity:
98
+ # (Note: there is exactly one item in the result set, so the selection of the first item is acceptable.)
99
+ feature_properties = filter(lambda uri: GFF3O.is_datatype_property(uri), GFF3O.feature_properties())[0]
100
+
101
+ # Use build-in method "with_parent" to pick properties based on their context:
102
+ GFF3O.with_parent(GFF3O.start(), feature_properties)
103
+ </pre>
104
+ <h3>Java API</h3>
105
+ <pre>
106
+ &lt;repositories&gt;
107
+ &lt;repository&gt;
108
+ &lt;id&gt;biointerchange&lt;/id&gt;
109
+ &lt;name&gt;BioInterchange&lt;/name&gt;
110
+ &lt;url&gt;http://www.biointerchange.org/artifacts&lt;/url&gt;
111
+ &lt;/repository&gt;
112
+ &lt;/repositories&gt;
113
+
114
+ &lt;dependencies&gt;
115
+ &lt;dependency&gt;
116
+ &lt;groupId&gt;org.biointerchange&lt;/groupId&gt;
117
+ &lt;artifactId&gt;vocabularies&lt;/artifactId&gt;
118
+ &lt;version&gt;0.1.2&lt;/version&gt;
119
+ &lt;/dependency&gt;
120
+ &lt;/dependencies&gt;
121
+ </pre>
122
+ Usage example (see also <a href="https://github.com/BioInterchange/BioInterchange/blob/master/supplemental/java/biointerchange/src/main/java/org/biointerchange/App.java">App.java</a>):
123
+ <pre>
124
+ package org.biointerchange;
125
+
126
+ import com.hp.hpl.jena.rdf.model.*;
127
+ import com.hp.hpl.jena.vocabulary.*;
128
+ import org.apache.commons.collections.CollectionUtils;
129
+ import org.apache.commons.collections.Predicate;
130
+
131
+ import java.util.Set;
132
+
133
+ import org.biointerchange.vocabulary.*;
134
+
135
+ /**
136
+ * Demo on how to make use of BioInterchange's vocabulary classes.
137
+ *
138
+ * @author Joachim Baran
139
+ */
140
+ public class App
141
+ {
142
+ public static void main(String[] args) {
143
+ Resource seqid = GFF3O.seqid();
144
+ System.out.println("'seqid' property:");
145
+ printResource(seqid);
146
+
147
+ System.out.println("'start' properties:");
148
+ Set<Resource> start = GFF3O.start();
149
+ for (Resource startSynonym : start)
150
+ printResource(startSynonym);
151
+
152
+ System.out.println("'feature_properties' properties:");
153
+ Set<Resource> featureProperties = GFF3O.feature_properties();
154
+ for (Resource featurePropertiesSynonym : featureProperties)
155
+ printResource(featurePropertiesSynonym);
156
+
157
+ System.out.println("'feature_properties' properties, which are a datatype property:");
158
+ CollectionUtils.filter(featureProperties, new Predicate() {
159
+ public boolean evaluate(Object o) {
160
+ return GFF3O.isDatatypeProperty((Resource)o);
161
+ }
162
+ });
163
+ for (Resource featurePropertiesSynonym : featureProperties)
164
+ printResource(featurePropertiesSynonym);
165
+
166
+ System.out.println("'start' property with parent datatype property 'feature_properties':");
167
+ Set<Resource> startUnderDatatypeFeatureProperties = GFF3O.withParent(start, featureProperties.iterator().next());
168
+ for (Resource startSynonym : startUnderDatatypeFeatureProperties)
169
+ printResource(startSynonym);
170
+ }
171
+
172
+ private static void printResource(Resource resource) {
173
+ System.out.println(" " + resource.toString());
174
+ System.out.println(" Namespace: " + resource.getNameSpace());
175
+ System.out.println(" Local name: " + resource.getLocalName());
176
+ System.out.println(" Jena Property (rather than Resource): " + (resource instanceof Property));
177
+ System.out.println(" Ontology class: " + GFF3O.isClass(resource));
178
+ System.out.println(" Ontology object property: " + GFF3O.isObjectProperty(resource));
179
+ System.out.println(" Ontology datatype property: " + GFF3O.isDatatypeProperty(resource));
180
+ }
181
+ }
182
+ </pre>
183
+ <h3>BioInterchange Ontologies</h3>
184
+ Ontologies specifically designed and implemented for BioInterchange are available via their <a href="http://biointerchange.github.com/Ontologies">GitHub project pages</a>.
185
+ <h4>Generic Feature Format Version 3 Ontology</h4>
186
+ <p>The Generic Feature Format Version 3 Ontology (GFF3O) has been closely modelled on the <a href="http://www.sequenceontology.org/resources/gff3.html">Generic Feature Format Version 3</a> (GFF3) specification.</p>
187
+ <p><i>A more detailed description has yet to be written...</i></p>
188
+ <ul>
189
+ <li><a href="http://biointerchange.github.com/Ontologies">Generic Feature Format Version 3 Ontology</a> (GFF3O)</li>
190
+ </ul>
191
+ <h4>Genome Variation Format Version 1 Ontology</h4>
192
+ <p>The Genome Variation Format Version 1 Ontology (GVF1O) has been closely modelled on the <a href="http://www.sequenceontology.org/resources/gvf.html">Genomic Variation Format</a> (GVF) specification.</p>
193
+ <p><i>A more detailed description has yet to be written...</i></p>
194
+ <ul>
195
+ <li><a href="http://biointerchange.github.com/Ontologies">Genome Variation Format Version 1 Ontology</a> (GVF1O)</li>
196
+ </ul>
197
+ <h3>External Ontologies</h3>
198
+ <ul>
199
+ <li><a href="http://xmlns.com/foaf/spec">Friend of a Friend</a> (FOAF)</li>
200
+ <li><a href="http://code.google.com/p/semanticscience/wiki/SIO">Semanticscience Integrated Ontology</a> (SIO)</li>
201
+ </ul>
202
+ </div>
203
+ </div>
204
+
205
+ <hr>
206
+
207
+ <footer>
208
+ <p>&copy; <a href="https://github.com/BioInterchange/BioInterchange#contributors">The BioInterchange Contributors</a> 2012</p>
209
+ </footer>
210
+
211
+ </div> <!-- /container -->
212
+
213
+ <!-- Le javascript
214
+ ================================================== -->
215
+ <!-- Placed at the end of the document so the pages load faster -->
216
+ <!-- <script src="bootstrap/js/jquery-1.8.1.min.js"></script> -->
217
+ <script src="bootstrap/js/bootstrap.min.js"></script>
218
+ </body>
219
+ </html>
data/web/index.html CHANGED
@@ -40,6 +40,7 @@
40
40
  <div class="nav-collapse collapse">
41
41
  <ul class="nav">
42
42
  <li class="active"><a href="index.html">Home</a></li>
43
+ <li><a href="ontologies.html">Ontologies</a></li>
43
44
  <li><a href="about.html">About</a></li>
44
45
  <!--
45
46
  <li class="dropdown">
@@ -68,7 +69,7 @@
68
69
  <div class="hero-unit">
69
70
  <div style="float: left; margin-right: 24px;"><a href="http://www.biointerchange.org"><img width=150 height=150 src="images/BioInterchange300.png" /></a></div>
70
71
  <h1>BioInterchange</h1>
71
- <p>Interchanging data using the Resource Description Framework (RDF) is simple, but creating RDF resources can be rather hard. BioInterchange automatically creates RDF from your TSV, XML, and other files.</p>
72
+ <p>Interchange data using the Resource Description Framework (RDF) and let BioInterchange automagically create RDF triples from your TSV, XML, GFF3, GVF and other files. BioInterchange helps you transform your data sets into linked data for sharing and data integration via command line, web-service, or API.</p>
72
73
  <!-- <p><a class="btn btn-primary btn-large">Learn more &raquo;</a></p> -->
73
74
  </div>
74
75
 
@@ -77,7 +78,7 @@
77
78
  <div class="span4">
78
79
  <h2>Shell Tool</h2>
79
80
  <p>Create RDF files from large data sets using the BioInterchange shell tool. It is installed as a Ruby gem that works with Mac OS X, Linux and Windows.</p>
80
- <p><!-- <a class="btn" href="#">View details &raquo;</a> --><em>Work in progress...</em></p>
81
+ <p><!-- <a class="btn" href="#">View details &raquo;</a> --><em>It's there, just this page isn't...</em></p>
81
82
  </div>
82
83
  <div class="span4">
83
84
  <h2>Web-Services</h2>
@@ -87,7 +88,7 @@
87
88
  <div class="span4">
88
89
  <h2>API</h2>
89
90
  <p>Integrate BioInterchange into your Ruby programs as a gem. The small footprint API makes it possible to create RDF from simple data structures in a few lines.</p>
90
- <p><a class="btn" disabled="disabled" href="#">View details &raquo; <em>(Well, work in progress too...)</em></a></p>
91
+ <p><a class="btn" href="api.html">View details &raquo;</a></p>
91
92
  <p><a class="btn" href="../doc/BioInterchange.html">View Ruby docs &raquo;</a></p>
92
93
  </div>
93
94
  </div>
@@ -0,0 +1,109 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>BioInterchange</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta name="description" content="BioInterchange ontologies page">
8
+ <meta name="author" content="Joachim Baran">
9
+
10
+ <!-- Le styles -->
11
+ <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
12
+ <style type="text/css">
13
+ body {
14
+ padding-top: 60px;
15
+ padding-bottom: 40px;
16
+ }
17
+ </style>
18
+ <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
19
+
20
+ <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
21
+ <!--[if lt IE 9]>
22
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
23
+ <![endif]-->
24
+
25
+ <!-- Le fav and touch icons -->
26
+ <!-- <link rel="shortcut icon" href="../assets/ico/favicon.ico"> -->
27
+ </head>
28
+
29
+ <body>
30
+
31
+ <div class="navbar navbar-inverse navbar-fixed-top">
32
+ <div class="navbar-inner">
33
+ <div class="container">
34
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
35
+ <span class="icon-bar"></span>
36
+ <span class="icon-bar"></span>
37
+ <span class="icon-bar"></span>
38
+ </a>
39
+ <a class="brand" href="index.html">BioInterchange</a>
40
+ <div class="nav-collapse collapse">
41
+ <ul class="nav">
42
+ <li><a href="index.html">Home</a></li>
43
+ <li class="active"><a href="ontologies.html">Ontologies</a></li>
44
+ <li><a href="about.html">About</a></li>
45
+ <!--
46
+ <li class="dropdown">
47
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
48
+ <ul class="dropdown-menu">
49
+ <li><a href="#">To</a></li>
50
+ <li><a href="#">Be</a></li>
51
+ <li><a href="#">Done</a></li>
52
+ <li><a href="#">Dude</a></li>
53
+ <li class="divider"></li>
54
+ <li class="nav-header">API</li>
55
+ <li><a href="#">API usage information</a></li>
56
+ <li><a href="#">Implementing new readers/writers</a></li>
57
+ </ul>
58
+ </li>
59
+ -->
60
+ </ul>
61
+ </div><!--/.nav-collapse -->
62
+ </div>
63
+ </div>
64
+ </div>
65
+
66
+ <div class="container">
67
+
68
+ <!-- Example row of columns -->
69
+ <div class="row">
70
+ <div class="span12">
71
+ <h2>Ontologies</h2>
72
+ <p>BioInterchange makes use of external ontologies, i.e. ontologies that were developed outside the scope of the BioInterchange project, and ontologies that we designed and implemented for specific file format conversion purposes. We are always happy to hear about ontologies that we should consider incorporating into BioInterchange and contributions of ontologies that permit including more file formats for RDF conversion are most welcome.</p>
73
+ <h3>BioInterchange Ontologies</h3>
74
+ Ontologies specifically designed and implemented for BioInterchange are available via their <a href="http://biointerchange.github.com/Ontologies">GitHub project pages</a>.
75
+ <h4>Generic Feature Format Version 3 Ontology</h4>
76
+ <p>The Generic Feature Format Version 3 Ontology (GFF3O) has been closely modelled on the <a href="http://www.sequenceontology.org/resources/gff3.html">Generic Feature Format Version 3</a> (GFF3) specification.</p>
77
+ <p><i>A more detailed description has yet to be written...</i></p>
78
+ <ul>
79
+ <li><a href="http://biointerchange.github.com/Ontologies">Generic Feature Format Version 3 Ontology</a> (GFF3O)</li>
80
+ </ul>
81
+ <h4>Genome Variation Format Version 1 Ontology</h4>
82
+ <p>The Genome Variation Format Version 1 Ontology (GVF1O) has been closely modelled on the <a href="http://www.sequenceontology.org/resources/gvf.html">Genomic Variation Format</a> (GVF) specification.</p>
83
+ <p><i>A more detailed description has yet to be written...</i></p>
84
+ <ul>
85
+ <li><a href="http://biointerchange.github.com/Ontologies">Genome Variation Format Version 1 Ontology</a> (GVF1O)</li>
86
+ </ul>
87
+ <h3>External Ontologies</h3>
88
+ <ul>
89
+ <li><a href="http://xmlns.com/foaf/spec">Friend of a Friend</a> (FOAF)</li>
90
+ <li><a href="http://code.google.com/p/semanticscience/wiki/SIO">Semanticscience Integrated Ontology</a> (SIO)</li>
91
+ </ul>
92
+ </div>
93
+ </div>
94
+
95
+ <hr>
96
+
97
+ <footer>
98
+ <p>&copy; <a href="https://github.com/BioInterchange/BioInterchange#contributors">The BioInterchange Contributors</a> 2012</p>
99
+ </footer>
100
+
101
+ </div> <!-- /container -->
102
+
103
+ <!-- Le javascript
104
+ ================================================== -->
105
+ <!-- Placed at the end of the document so the pages load faster -->
106
+ <!-- <script src="bootstrap/js/jquery-1.8.1.min.js"></script> -->
107
+ <script src="bootstrap/js/bootstrap.min.js"></script>
108
+ </body>
109
+ </html>
data/web/webservices.html CHANGED
@@ -41,6 +41,7 @@
41
41
  <div class="nav-collapse collapse">
42
42
  <ul class="nav">
43
43
  <li class="active"><a href="index.html">Home</a></li>
44
+ <li><a href="ontologies.html">Ontologies</a></li>
44
45
  <li><a href="about.html">About</a></li>
45
46
  <!--
46
47
  <li class="dropdown">
metadata CHANGED
@@ -1,154 +1,162 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: biointerchange
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- segments:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- prerelease: false
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
- authors:
11
+ authors:
12
12
  - Joachim Baran
13
13
  - Kevin B. Cohen
14
14
  - Geraint Duck
15
15
  - Michel Dumontier
16
- autorequire: !!null
16
+ - Jin-Dong Kim
17
+ autorequire:
17
18
  bindir: bin
18
19
  cert_chain: []
19
- date: 2012-10-11 00:00:00.000000000 -04:00
20
+
21
+ date: 2012-11-27 00:00:00 -05:00
20
22
  default_executable: biointerchange
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
23
25
  name: rdf
24
- requirement: &70317163090000 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 0.3.4.1
30
- segments:
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ segments:
31
32
  - 0
32
33
  - 3
33
34
  - 4
34
35
  - 1
36
+ version: 0.3.4.1
35
37
  type: :runtime
36
- prerelease: false
37
- version_requirements: *70317163090000
38
- - !ruby/object:Gem::Dependency
38
+ version_requirements: *id001
39
+ - !ruby/object:Gem::Dependency
39
40
  name: json
40
- requirement: &70317163083460 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: 1.6.4
46
- segments:
41
+ prerelease: false
42
+ requirement: &id002 !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ segments:
47
47
  - 1
48
48
  - 6
49
49
  - 4
50
+ version: 1.6.4
50
51
  type: :runtime
51
- prerelease: false
52
- version_requirements: *70317163083460
53
- - !ruby/object:Gem::Dependency
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
54
  name: getopt
55
- requirement: &70317163081140 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
58
- - - ! '>='
59
- - !ruby/object:Gem::Version
60
- version: 1.4.1
61
- segments:
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ segments:
62
61
  - 1
63
62
  - 4
64
63
  - 1
64
+ version: 1.4.1
65
65
  type: :runtime
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: addressable
66
69
  prerelease: false
67
- version_requirements: *70317163081140
68
- - !ruby/object:Gem::Dependency
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ segments:
75
+ - 2
76
+ - 3
77
+ - 2
78
+ version: 2.3.2
79
+ type: :runtime
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
69
82
  name: rspec
70
- requirement: &70317163079560 !ruby/object:Gem::Requirement
71
- none: false
72
- requirements:
83
+ prerelease: false
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
+ requirements:
73
86
  - - ~>
74
- - !ruby/object:Gem::Version
75
- version: 2.8.0
76
- segments:
87
+ - !ruby/object:Gem::Version
88
+ segments:
77
89
  - 2
78
90
  - 8
79
91
  - 0
92
+ version: 2.8.0
80
93
  type: :development
81
- prerelease: false
82
- version_requirements: *70317163079560
83
- - !ruby/object:Gem::Dependency
94
+ version_requirements: *id005
95
+ - !ruby/object:Gem::Dependency
84
96
  name: bundler
85
- requirement: &70317163060340 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ~>
89
- - !ruby/object:Gem::Version
90
- version: 1.2.1
91
- segments:
97
+ prerelease: false
98
+ requirement: &id006 !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ segments:
92
103
  - 1
93
- - 2
94
104
  - 1
105
+ - 5
106
+ version: 1.1.5
95
107
  type: :development
96
- prerelease: false
97
- version_requirements: *70317163060340
98
- - !ruby/object:Gem::Dependency
108
+ version_requirements: *id006
109
+ - !ruby/object:Gem::Dependency
99
110
  name: jeweler
100
- requirement: &70317163057220 !ruby/object:Gem::Requirement
101
- none: false
102
- requirements:
111
+ prerelease: false
112
+ requirement: &id007 !ruby/object:Gem::Requirement
113
+ requirements:
103
114
  - - ~>
104
- - !ruby/object:Gem::Version
105
- version: 1.8.4
106
- segments:
115
+ - !ruby/object:Gem::Version
116
+ segments:
107
117
  - 1
108
118
  - 8
109
119
  - 4
120
+ version: 1.8.4
110
121
  type: :development
111
- prerelease: false
112
- version_requirements: *70317163057220
113
- - !ruby/object:Gem::Dependency
122
+ version_requirements: *id007
123
+ - !ruby/object:Gem::Dependency
114
124
  name: bio
115
- requirement: &70317163046060 !ruby/object:Gem::Requirement
116
- none: false
117
- requirements:
118
- - - ! '>='
119
- - !ruby/object:Gem::Version
120
- version: 1.4.2
121
- segments:
125
+ prerelease: false
126
+ requirement: &id008 !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ segments:
122
131
  - 1
123
132
  - 4
124
133
  - 2
134
+ version: 1.4.2
125
135
  type: :development
126
- prerelease: false
127
- version_requirements: *70317163046060
128
- - !ruby/object:Gem::Dependency
136
+ version_requirements: *id008
137
+ - !ruby/object:Gem::Dependency
129
138
  name: rdoc
130
- requirement: &70317163030160 !ruby/object:Gem::Requirement
131
- none: false
132
- requirements:
139
+ prerelease: false
140
+ requirement: &id009 !ruby/object:Gem::Requirement
141
+ requirements:
133
142
  - - ~>
134
- - !ruby/object:Gem::Version
135
- version: '3.12'
136
- segments:
143
+ - !ruby/object:Gem::Version
144
+ segments:
137
145
  - 3
138
146
  - 12
147
+ version: "3.12"
139
148
  type: :development
140
- prerelease: false
141
- version_requirements: *70317163030160
142
- description: BioInterchange is a Ruby gem, command-line tool, web-service for turning
143
- heterogeneous data formats such as JSON, XML, GFF3, etc., into RDF."
149
+ version_requirements: *id009
150
+ description: BioInterchange is a Ruby gem, command-line tool, web-service for turning heterogeneous data formats such as JSON, XML, GFF3, etc., into RDF."
144
151
  email: joachim.baran@gmail.com
145
- executables:
152
+ executables:
146
153
  - biointerchange
147
154
  extensions: []
148
- extra_rdoc_files:
155
+
156
+ extra_rdoc_files:
149
157
  - LICENSE.txt
150
158
  - README.md
151
- files:
159
+ files:
152
160
  - .document
153
161
  - .rspec
154
162
  - .travis.yml
@@ -158,10 +166,12 @@ files:
158
166
  - Rakefile
159
167
  - VERSION
160
168
  - bin/biointerchange
161
- - docs/exceptions_readme.txt
162
169
  - examples/BovineGenomeChrX.gff3.gz
163
170
  - examples/gb-2007-8-3-R40.xml
164
171
  - examples/pubannotation.json
172
+ - examples/vocabulary.rb
173
+ - generators/javaify.rb
174
+ - generators/pythonify.rb
165
175
  - generators/rdfxml.rb
166
176
  - lib/biointerchange.rb
167
177
  - lib/biointerchange/core.rb
@@ -170,7 +180,8 @@ files:
170
180
  - lib/biointerchange/genomics/gff3_feature_set.rb
171
181
  - lib/biointerchange/genomics/gff3_rdf_ntriples.rb
172
182
  - lib/biointerchange/genomics/gff3_reader.rb
173
- - lib/biointerchange/gff3.rb
183
+ - lib/biointerchange/gff3o.rb
184
+ - lib/biointerchange/gvf1o.rb
174
185
  - lib/biointerchange/reader.rb
175
186
  - lib/biointerchange/registry.rb
176
187
  - lib/biointerchange/sio.rb
@@ -188,7 +199,23 @@ files:
188
199
  - spec/text_mining_pdfx_xml_reader_spec.rb
189
200
  - spec/text_mining_pubannos_json_reader_spec.rb
190
201
  - spec/text_mining_rdfwriter_spec.rb
202
+ - supplemental/java/biointerchange/pom.xml
203
+ - supplemental/java/biointerchange/src/main/java/org/biointerchange/App.java
204
+ - supplemental/java/biointerchange/src/main/java/org/biointerchange/AppSIO.java
205
+ - supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GFF3O.java
206
+ - supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GVF1O.java
207
+ - supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SIO.java
208
+ - supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SOFA.java
209
+ - supplemental/java/biointerchange/src/test/java/org/biointerchange/AppTest.java
210
+ - supplemental/python/biointerchange/__init__.py
211
+ - supplemental/python/biointerchange/gff3o.py
212
+ - supplemental/python/biointerchange/gvf1o.py
213
+ - supplemental/python/biointerchange/sio.py
214
+ - supplemental/python/biointerchange/sofa.py
215
+ - supplemental/python/example.py
216
+ - supplemental/python/setup.py
191
217
  - web/about.html
218
+ - web/api.html
192
219
  - web/biointerchange.js
193
220
  - web/bootstrap/css/bootstrap-responsive.css
194
221
  - web/bootstrap/css/bootstrap-responsive.min.css
@@ -203,38 +230,38 @@ files:
203
230
  - web/css/rdoc.css
204
231
  - web/images/BioInterchange300.png
205
232
  - web/index.html
233
+ - web/ontologies.html
206
234
  - web/service/rdfizer.fcgi
207
235
  - web/webservices.html
208
236
  has_rdoc: true
209
237
  homepage: http://www.biointerchange.org
210
- licenses:
238
+ licenses:
211
239
  - MIT
212
- post_install_message: !!null
240
+ post_install_message:
213
241
  rdoc_options: []
214
- require_paths:
242
+
243
+ require_paths:
215
244
  - lib
216
- required_ruby_version: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
- segments:
245
+ required_ruby_version: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ segments:
223
250
  - 0
224
- hash: -1636007082743393289
225
- required_rubygems_version: !ruby/object:Gem::Requirement
226
- none: false
227
- requirements:
228
- - - ! '>='
229
- - !ruby/object:Gem::Version
230
- version: '0'
231
- segments:
251
+ version: "0"
252
+ required_rubygems_version: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ segments:
232
257
  - 0
258
+ version: "0"
233
259
  requirements: []
234
- rubyforge_project: !!null
235
- rubygems_version: 1.3.7
236
- signing_key: !!null
260
+
261
+ rubyforge_project:
262
+ rubygems_version: 1.3.6
263
+ signing_key:
237
264
  specification_version: 3
238
- summary: An open source framework for transforming heterogeneous data formats into
239
- RDF.
265
+ summary: An open source framework for transforming heterogeneous data formats into RDF.
240
266
  test_files: []
267
+