Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 988 Bytes

File metadata and controls

45 lines (35 loc) · 988 Bytes

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...)