biointerchange 0.1.3 → 0.2.0
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.
- data/README.md +17 -0
- data/VERSION +1 -1
- data/generators/GOxrefify.rb +41 -0
- data/generators/rdfxml.rb +6 -4
- data/lib/biointerchange/core.rb +94 -20
- data/lib/biointerchange/genomics/gff3_feature_set.rb +11 -3
- data/lib/biointerchange/genomics/gff3_pragmas.rb +3 -3
- data/lib/biointerchange/genomics/gff3_rdf_ntriples.rb +217 -12
- data/lib/biointerchange/genomics/gff3_reader.rb +78 -20
- data/lib/biointerchange/genomics/gvf_reader.rb +9 -3
- data/lib/biointerchange/gff3o.rb +69 -55
- data/lib/biointerchange/goxref.rb +867 -0
- data/lib/biointerchange/gvf1o.rb +546 -82
- data/lib/biointerchange/textmining/text_mining_reader.rb +9 -0
- data/spec/gff3_rdfwriter_spec.rb +1 -1
- data/spec/gvf_rdfwriter_spec.rb +1 -1
- data/spec/text_mining_pdfx_xml_reader_spec.rb +3 -0
- data/spec/text_mining_pubannos_json_reader_spec.rb +4 -1
- data/supplemental/java/biointerchange/pom.xml +1 -1
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GFF3O.java +93 -125
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GVF1O.java +304 -205
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SIO.java +4044 -4290
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SOFA.java +3 -3
- data/supplemental/python/biointerchange/gff3o.py +1 -89
- data/supplemental/python/biointerchange/gvf1o.py +129 -147
- data/supplemental/python/biointerchange/sio.py +817 -46
- data/supplemental/python/biointerchange/sofa.py +543 -543
- data/supplemental/python/setup.py +1 -1
- data/web/ontologies.html +1 -3
- metadata +7 -2
| @@ -2,7 +2,7 @@ from setuptools import setup, find_packages | |
| 2 2 |  | 
| 3 3 | 
             
            setup(
         | 
| 4 4 | 
             
                name = "biointerchange",
         | 
| 5 | 
            -
                version = "0.1. | 
| 5 | 
            +
                version = "0.1.3",
         | 
| 6 6 | 
             
                author = "Joachim Baran, Geraint Duck",
         | 
| 7 7 | 
             
                description = ( "Wrapper for easy access to GFF3O, GVF1O, SIO and SOFA.",
         | 
| 8 8 | 
             
                                "Part of the BioInterchange project." ),
         | 
    
        data/web/ontologies.html
    CHANGED
    
    | @@ -71,16 +71,14 @@ | |
| 71 71 | 
             
                      <h2>Ontologies</h2>
         | 
| 72 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 73 | 
             
                      <h3>BioInterchange Ontologies</h3>
         | 
| 74 | 
            -
                       | 
| 74 | 
            +
                      Some ontologies have been specifically designed and implemented for BioInterchange and are freely available via the <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution Share-Alike</a> (<a href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA</a>) license. The listing below gives an overview of the ontologies we created, where more information about them is available on their <a href="http://biointerchange.github.com/Ontologies">GitHub project pages</a>.
         | 
| 75 75 | 
             
                      <h4>Generic Feature Format Version 3 Ontology</h4>
         | 
| 76 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 77 | 
             
                      <ul>
         | 
| 79 78 | 
             
                        <li><a href="http://biointerchange.github.com/Ontologies">Generic Feature Format Version 3 Ontology</a> (GFF3O)</li>
         | 
| 80 79 | 
             
                      </ul>
         | 
| 81 80 | 
             
                      <h4>Genome Variation Format Version 1 Ontology</h4>
         | 
| 82 81 | 
             
                      <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 82 | 
             
                      <ul>
         | 
| 85 83 | 
             
                        <li><a href="http://biointerchange.github.com/Ontologies">Genome Variation Format Version 1 Ontology</a> (GVF1O)</li>
         | 
| 86 84 | 
             
                      </ul>
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: biointerchange
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.2.0
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -13,7 +13,7 @@ authors: | |
| 13 13 | 
             
            autorequire: 
         | 
| 14 14 | 
             
            bindir: bin
         | 
| 15 15 | 
             
            cert_chain: []
         | 
| 16 | 
            -
            date: 2013- | 
| 16 | 
            +
            date: 2013-02-22 00:00:00.000000000 Z
         | 
| 17 17 | 
             
            dependencies:
         | 
| 18 18 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 19 19 | 
             
              name: rdf
         | 
| @@ -186,6 +186,7 @@ files: | |
| 186 186 | 
             
            - examples/pubannotation.10096561.json.old
         | 
| 187 187 | 
             
            - examples/pubannotation.2626671.json
         | 
| 188 188 | 
             
            - examples/vocabulary.rb
         | 
| 189 | 
            +
            - generators/GOxrefify.rb
         | 
| 189 190 | 
             
            - generators/javaify.rb
         | 
| 190 191 | 
             
            - generators/pythonify.rb
         | 
| 191 192 | 
             
            - generators/rdfxml.rb
         | 
| @@ -202,6 +203,7 @@ files: | |
| 202 203 | 
             
            - lib/biointerchange/genomics/gvf_pragmas.rb
         | 
| 203 204 | 
             
            - lib/biointerchange/genomics/gvf_reader.rb
         | 
| 204 205 | 
             
            - lib/biointerchange/gff3o.rb
         | 
| 206 | 
            +
            - lib/biointerchange/goxref.rb
         | 
| 205 207 | 
             
            - lib/biointerchange/gvf1o.rb
         | 
| 206 208 | 
             
            - lib/biointerchange/reader.rb
         | 
| 207 209 | 
             
            - lib/biointerchange/registry.rb
         | 
| @@ -269,6 +271,9 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 269 271 | 
             
              - - ! '>='
         | 
| 270 272 | 
             
                - !ruby/object:Gem::Version
         | 
| 271 273 | 
             
                  version: '0'
         | 
| 274 | 
            +
                  segments:
         | 
| 275 | 
            +
                  - 0
         | 
| 276 | 
            +
                  hash: 166919419031906547
         | 
| 272 277 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 273 278 | 
             
              none: false
         | 
| 274 279 | 
             
              requirements:
         |