Skip to content

A NodeJS package for parsing Molecular Interaction JSON data produced by JAMI

Notifications You must be signed in to change notification settings

MICommunity/mi-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MI-Model

A NodeJS package for parsing Molecular Interaction JSON data produced by JAMI

Installation

via npm

npm install --save mi-model
MIModel = require('mi-model');

via bower

bower install --save mi-model
<script src="bower_components/mi-model/dist/mi-model.js"></script>

Usage

$.get( "json/EBI-9082861.json", function( data ) {

  new MIModel(data).load().then(function(model) {
    console.log("model", model);
  });
  
  // MIModel(data) returns a Backbone model structure representing the JAMI JSON.
  
  // Optionally you can chain the .load() function which returns
  // a Promise to fetch sequence lengths from uniprot.

});

Model Relationships

alt tag

About

A NodeJS package for parsing Molecular Interaction JSON data produced by JAMI

Resources

Stars

Watchers

Forks

Packages

No packages published