Releases: calipho-sib/feature-viewer
v1.6.0
What's Changed
- refactor: migrate to webpack by @sachdeva-shrey in #51
- docs: update release version by @sachdeva-shrey in #52
- feat: variant input and prediction by @sachdeva-shrey in #53
- feat: add validation and error handling by @sachdeva-shrey in #54
- feat: add toast messages by @sachdeva-shrey in #55
- fix: make QA changes by @sachdeva-shrey in #56
- Highlight feature and improve bar chart description by @chaliya96 in #72
- Restore compatibility with bower by @kwsamarasinghe in #73
- Implement summary view feature by @chaliya96 in #74
- Update Docs and add new Samples by @chaliya96 in #75
- Updated documentations and new examples by @chaliya96 in #77
- Add download option for feature viewer by @chaliya96 in #76
Full Changelog: v1.1.0...v1.6.0
Summary view and download a snapshot
What's Changed
- PR: New version and correct dist file in bower.json by @kwsamarasinghe in #34
- Develop by @kwsamarasinghe in #44
- refactor: migrate to webpack by @sachdeva-shrey in #50
- Highlight feature and improve bar chart description by @chaliya96 in #72
Full Changelog: v1.0.0...v1.3.0-beta.6
Highlight parts of features
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
- Highlight feature by @chaliya96 in #69
Full Changelog: v1.3.0-beta.1...1.3.0-beta.3
New chart type : bar chart
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
- feat: Implement Bar Chart type by @chaliya96 in #67
New Contributors
- @chaliya96 made their first contribution in #67
Full Changelog: v1.2.0...v1.3.0-beta.1
Variant input and prediction
chore: update build Signed-off-by: sachdeva-shrey <[email protected]>
Feature-viewer - DOI
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
Create a new release to make a DOI with Zenodo.
v0.1.40
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
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
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