2.2.1 • Published 1 year ago

complexviewer v2.2.1

Weekly downloads
69
License
Apache-2.0
Repository
github
Last release
1 year ago

ComplexViewer

Colin W Combe, Marine (Dumousseau) Sivade, Henning Hermjakob, Joshua Heimbach, Birgit H M Meldal, Gos Micklem, Sandra Orchard, Juri Rappsilber; ComplexViewer: visualization of curated macromolecular complexes, Bioinformatics, Volume 33, Issue 22, 15 November 2017, Pages 3673–3675, https://doi.org/10.1093/bioinformatics/btx497

Input data

The 'MI-JSON' data format consumed by the viewer is generated by the JAMI framework. https://github.com/MICommunity/psi-jami

JAMI is capable of converting between various MI data formats, it can convert the PSI-MI XML standard into the MI-JSON format.

Building on localhost

First install dependencies:

npm install

To create a production build:

npm run build-prod

To create a development build:

npm run build-dev

Usage

  1. Construct a new instance of the conplexviewer.App object, passing the target DIV as a parameter to the constructor:
    
            var targetDiv = document.getElementById('myDiv');
            var myComplexViewer = new complexviewer.App(targetDiv);
  2. Pass this the MI-JSON object:
    
            myComplexViewer.readMijson(data);
  3. Register a DIV to have a colour scheme key drawn into it 
    
            var colorSchemeDiv = document.getElementById('myDiv');
            myComplexViewer.addColorSchemeKey(colorSchemeDiv);
  1. Choose how to annotate proteins (this will prob, because of https://github.com/MICommunity/ComplexViewer/issues/80):

            // todo doc - see index.html for example, old way of doing should still be working
  2. To change dataset without creating a new instance of the app, 

    call the clear function, then call the readMijson() function with the new data:

            myComplexViewer.clear();
            myComplexViewer.readMijson(data2);
2.2.1

1 year ago

2.2.0

1 year ago

2.1.17

2 years ago

2.1.16

3 years ago

2.1.15

3 years ago

2.1.14

3 years ago

2.1.13

3 years ago

2.1.12

3 years ago

2.1.10

3 years ago

2.1.11

3 years ago

2.1.8

3 years ago

2.1.7

3 years ago

2.1.6

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.5

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.9

6 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago