Giter Club home page Giter Club logo

dnaviewer's Introduction

dnaViewer

sample

The application was implemented using Angular Seed skeleton. The files directory has been changed to controllers, components, services and constants. Additional tools for the implementation are the below: a) Angular 1.5 a) Angular Material b) Material Design Data Table (https://github.com/daniel-nagy/md-data-table) c) d3.js (d3js was selected so that our visualization to be extendable)

The user is able to:

  1. View the table of the features. a) Sort and search pattern b) Click on the pattern and display the sequence pattern in dialog c) Mapping to SBOL symbols

  2. View the plasmid Diagram with: a) Arrows for displaying the strand b) Labels of each features c) Display of the index of the largest features d) Display of non specified regions e) Animation on hover and linking to the table of the features

Unit testing:

  1. Unit testing has been implemented for two basics functions of the main controller a) The first sorts the data from json array according the start position b) The second fills the main data array with new objects regions that are not specified (gray color on the diagram)

Future extensions:

  1. Additional animation (barchart) for displaying the frequency of the search pattern of each feature
  2. Refactor the creation of the graph to be configurable (partly with TYPES_MAPPING for now. In addition, we could create a new component binding the values, colors configuration, labels position...)
  3. Editing each feature on click event and update the diagram
  4. SBOL inside diagram (needed transparent background)
  5. When the user clicks on the slice of the diagram the filtering should become permanent at the table of the features
  6. Create from start (with drag n drop functionality) a new diagram
  7. Upload/Download json
  8. Hovering on a feature on the table the related slice at the diagram should be focused.

Getting Started

Dependencies

We have two kinds of dependencies in this project: tools and angular framework code. The tools help us manage and test the application.

  • We get the tools we depend upon via npm, the [node package manager][npm].
  • We get the angular code via bower, a [client-side code package manager][bower].

Both npm and bower packages are available in different distros.

Install and Run

We have preconfigured npm to automatically run bower so we can simply do:

cd dnaviewer
npm install
bower install (if locally node_modules/bower/bin/bower install)

Run the application:

npm start

Now browse to the app at http://localhost:8000/index.html.

Test the Application

npm test

dnaviewer's People

Contributors

angeliquekom avatar bmcorser 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.