Skip to content

chokuno/dna_alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNA Sequence Alignment App

Prerequisites

  • Node.js (v16+)
  • Rust (latest stable version)
  • npm
  • napi-rs CLI

Setup Instructions

  1. Clone the repository

  2. Install dependencies:

    npm install
  3. Build the Rust module:

    cd native
    npm run build
  4. Start the application:

    npm start
  5. Open a browser and navigate to http://localhost:3000

How It Works

  • Two text areas for DNA sequences
  • Alignment button triggers Rust-based alignment algorithm
  • Similarity score displayed as a percentage

Alignment Algorithm

Uses a Rust Needleman-Wunsch algorithm implementation.

Supports DNA bases: A, T, C, G

TODO

  • Add a title and a navBar with two items, NW and Sw
  • Implement SW algorithm, organize Rust code better
  • Add viz for optimal path in matrix, similarly as https://bioboot.github.io/bimm143_W20/class-material/nw/
  • Implement protein alignment
  • Add mismatch matrix option (e.g: BLOSUM, PAM, etc...)

About

nodejs app that runs sequence alignment using a Rust module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors