Coder Social home page Coder Social logo

ahwagner / vrs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ga4gh/vrs

0.0 1.0 0.0 5.15 MB

Extensible specification for representing and uniquely identifying biological sequence variation

Home Page: https://vr-spec.readthedocs.io/

License: Apache License 2.0

Makefile 0.39% Python 2.03% Jupyter Notebook 97.58%

vrs's Introduction

DOI Read the Docs tests

The GA4GH Variation Representation Specification provides a comprehensive framework for the computational representation of biological sequence variation. VRS is the result of a collaboration among contributors representing national information resource providers, major international public initiatives, and diagnostic testing laboratories.

VRS is licensed under the Apache License 2.0.

NOTE: VRS is under active development. See VR Project Roadmap.

Specific goals:

  • Develop common language- and protocol-neutral information models and nomenclature for biological sequence variation.
  • From the information models, develop data schemas. The current schema is defined in JSON Schema, but other formats are expected.
  • Provide algorithmic guidance and conventions to minimize representational ambiguity.
  • Define a globally unique computed identifier for covered data classes.
  • Develop validation tests to ensure consistency of implementations.

The VRS model is the product of the GA4GH Variation Representation group.

SEE ALSO: See vrs-python for an implementation and Jupyter notebooks.

Using the schema

The schema is available in the schema/ directory, in both yaml and json versions. It conforms to JSON Schema draft-07. For a list of libraries that support JSON schema, see JSON Schema>Implementations.

Contributing to the schema

VRS uses yaml as the source document for JSON Schema

To convert vrs.yaml to vrs.json:

make vrs.json

You'll probably have to pip install pyyaml first.

To watch for changes and update automatically:

make -C schema watch &

Contributing docs

The VR specification documentation is written in reStructuredText and located in docs/source/. Commits to this repo are built automatically at vrs.ga4gh.org.

To build documentation locally, type:

make -C docs clean watch &

Then, open docs/build/html/index.html. The above make command should build docs when source changes. (Some types of changes require recleaning and building.)

Testing

The VRS repo contains two kinds of tests. Basic smoketests in tests/ ensure that the schema is parseable and works with certain tools. These tests provide a basic sanity check during development.

Validation tests (in validation/) provide language-neutral tests for those implementing tools with VRS.

Using smoketests

The smoketests require python 3.8+. This is the recommended setup:

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -U setuptools pip
$ pip install -r .requirements.txt
$ python3 -m pytest

vrs's People

Contributors

reece avatar ahwagner avatar larrybabb avatar korikuzma avatar helensch avatar mbaudis avatar jsstevenson avatar bradholmes avatar radixseven avatar pnrobinson avatar melissacline avatar ronakypatel avatar rrfreimuth avatar

Watchers

James Cloos avatar

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.