Coder Social home page Coder Social logo

biointerchange / ontologies Goto Github PK

View Code? Open in Web Editor NEW
16.0 7.0 4.0 756 KB

Home of the Genomic Feature and Variation Ontology (GFVO)

Home Page: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4435477/

Shell 4.97% Ruby 95.03%
ontology genomics genomic-data-science gff3 gtf gvf vcf

ontologies's Introduction

BioInterchange Ontologies

Bioinformatics related ontologies. Especially for generating RDF content using BioInterchange.

Genomic Feature and Variation Ontology (GFVO)

An ontology for describing genomic features and variants; in particular the contents of GFF3, GTF, GVF and VCF files.

Build Instructions

Build instructions are intended for collaborators and enthusiasts who would like contributing to the BioInterchange ontologies. The ontologies can be edited using Protege, but a few post-processing steps are necessary to remove additional information that Protege inserts on its own.

Post-Protege-Cleanup

Saving an ontology with Protege will introduce explicit class definitions and individuals for external URIs. These have to be removed, so that only BioInterchange URIs are described by the ontologies. A script has been provided that takes care of this, and additionally, increments the patch level version number of the ontologies.

For example, the following commands can be used to create a new cleaned version of the GFVO ontology:

<gfvo.xml scripts/cleanse.rb > gfvo.tmp
mv gfvo.tmp gfvo.xml

Generating GFVO for BioPortal

Due to technical limitations of BioPortal, GFVO in BioPortal cannot import other ontologies or contain SIO class- or property-equivalences. If ontologies are imported and equivalences kept, then BioPortal reports from summary statistics and the class browser shows thousands of classes that are not part of GFVO itself.

Removal of OWL imports and class- and property-equivalences:

grep -v '<owl:imports ' gfvo.xml | grep -v '<owl:equivalentProperty ' | grep -v '<owl:equivalentClass ' > gfvo_bioportal.xml

Generating Statistics

Summary statistics about classes and properties can be output in human-readable and HTML via:

./scripts/stats.rb < gfvo.xml

Generating new GO Abbreviation Collection Link-Outs

A regular expression of valid URIs as defined in the Gene Ontology Abbreviation Collection can be automatically generated using the following command:

./scripts/go_xref2xsd_pattern.rb

On Mac OS X, the generated regular expression can be copied into the clipboard for subsequent pasting using the pbcopy command:

./scripts/go_xref2xsd_pattern.rb | pbcopy

Deprecated Ontologies

The following ontologies were prototypes that eventually merged into the Genomic Feature and Variation Ontology (GFVO).

Generic Feature Format Version 3 Ontology (GFF3O)

An ontology for describing GFF3 file contents.

Genome Variation Format Version 1 Ontology (GVF1O)

An ontology for describing GVF file contents.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.