Skip to content

Releases: calipho-sib/feature-viewer

v1.6.0

25 Nov 15:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.6.0

Summary view and download a snapshot

09 Dec 10:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.3.0-beta.6

Highlight parts of features

10 Oct 12:24
4cb9491
Compare
Choose a tag to compare
Pre-release

With the beta release 1.3.0-beta.3 highlighting of certain parts of the feature has enhanced to allow highlighting by defining a "highlight" property attributes color and custom description

What's Changed

Full Changelog: v1.3.0-beta.1...1.3.0-beta.3

New chart type : bar chart

29 Aug 07:55
Compare
Choose a tag to compare
Pre-release

Support for a new chart type is introduced;

  • Bar chart type for numerical data (positive numbers)

ft2.addFeature({ data: [ .... ], name: "feature name", className: "feature class name", color: "feature color", // e.g #008B8D type: "bar", height: "height of the track" // e.g 8 , else a default value of 10 is picked });

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.3.0-beta.1

Variant input and prediction

23 Aug 08:54
Compare
Choose a tag to compare
chore: update build

Signed-off-by: sachdeva-shrey <[email protected]>

Feature-viewer - DOI

03 Mar 11:14
Compare
Choose a tag to compare

An interactive viewer made in Javascript and based on the D3.js library, allowing to display features covering a sequence of DNA, protein, or others.

Feature-viewer - DOI

03 Mar 10:49
Compare
Choose a tag to compare

Create a new release to make a DOI with Zenodo.

v0.1.40

25 May 15:04
Compare
Choose a tag to compare

Zoom programmatically

You can now zoom programmatically with two new methods :

  • zoom(start,end) : The feature viewer will zoom on the coordinates passed in parameters.
  • resetZoom() : Will reset the zoom.

Zoom listener

Thanks to @fredludlow, it is now possible to listen for zoom event with the method zoom(start,end). This method take a function (callback) in parameter, that will receive a event object containing the coordinates & zoom level.

var ft = new FeatureViewer(213, '#fv1', options);
ft.onZoom(function (d) {
    console.log(d.detail);
});

ClearInstance()

You may sometimes want to reload your feature-viewer with new parameters. To avoid memory leaks, the method clearInstance() will clear each element & listener for you before you delete the feature-viewer instance.

Add AA to position text

Thanks again to @fredludlow, in addition to the position of the mouse in the feature-viewer, there's now the specific character of the sequence at this position.

Check the documentation for more details :

https://cdn.rawgit.com/calipho-sib/feature-viewer/v0.1.40/examples/index.html

v0.1.36

19 Apr 19:18
Compare
Choose a tag to compare

Responsive layout

The feature viewer has now a responsive layout : on a window resize, the feature viewer will also be dynamically resized.

Initialize the feature-viewer with a length

You can now specify the length of the sequence instead of the sequence itself :

var ft = new FeatureViewer('MALWMRLLPLLALLALWGPGPGAGSLQPLALEG..', '#fv1', options);
OR
var ft = new FeatureViewer(213, '#fv1', options);

Specify an offset

If you just want to display a part of the sequence, you can add the option offset :

var ft = new FeatureViewer(213, '#fv1', {
 ...,
 offset:{start:30, end:100},
 ...
});

New options for "line" features

  • interpolation : 'basis', 'step', 'monotone',.. : You can specify how the "line" feature will be displayed.
  • You can also give multiple data : data: [array1, array2] with corresponding colors : color: ['#C50063','#005572']

Check the documentation for more details :

https://cdn.rawgit.com/calipho-sib/feature-viewer/v0.1.36/examples/index.html

v0.1.34

23 Feb 16:25
Compare
Choose a tag to compare

New feature type : line

Possibility to draw an histogram

Use the neXtProt API

Include the _feature-viewer.nextprot.js_ , search your protein on NeXtProt & check on NeXtProt API the different features.
Then fill the feature viewer with data from NeXtProt, the human protein database.

New options

  • individual feature color (Thanks to Fred Ludlow for the pull request)
  • feature height

Check the documentation for more details :

https://cdn.rawgit.com/calipho-sib/feature-viewer/v0.1.34/examples/index.html