GithubHelp home page GithubHelp logo

preston / alignment Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 73 KB

A JavaScript pairwise sequence aligner demonstration using dynamic programming.

JavaScript 59.38% CSS 4.30% HTML 35.71% Dockerfile 0.60%

alignment's Introduction

Pairwise Sequence Alignment In JavaScript

This is a simple web-based example of how to implement pairwise alignment using dynamic programming techniques. The index.html file uses jQuery and the Bootstrap CSS framework to instantly align two source strings.

You can view a live demo at http://alignment.prestonlee.com.

Legal

Released under the Apache 2 license. Copyright 2014 Preston Lee. All rights reserved.

alignment's People

Contributors

preston avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aaboyles

alignment's Issues

Lack gap opening and gap extension cost

The code can be modified to add gap opening and gap extension cost :

for (var y = curY; y <= rows; y++) { if(trace[y][0] == trace[0][curX] && (trace[y][curX] - (y - curY) * 10) > best) { best = trace[y][curX]; bestX = curX; bestY = y; } } for (var x = curX; x <= cols; x++) { if(trace[curY][0] == trace[0][x] && (trace[curY][x] - (x - curX) * 10) > best) { best = trace[curY][x]; bestX = x; bestY = curY; } }

Name of exact algorithm?

Hello, thanks for great work.

I'm planning to implement an app with sequence alignment and your package looks great!

Can I ask, which algorithm you implements?
(I'm a quite beginner for sequence alignment.)

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.