Through this project, I implemented the Needleman-Wunsch algorithm for global alignment and Smith-Waterman algorithm for local alignment. To facilitate ease of use and efficiency, I also created a user interface for computing both global and local alignment algorithms using React, HTML, and CSS for the frontend and JavaScript for the backend.
The code for the alignment algorithms is located in src/alignment.js.
The application is hosted on GitHub pages at https://cherhchen.github.io/dna-alignment.
- Install Node.js on your computer if haven't already.
- Clone repository
git clone https://github.com/cherhchen/dna-alignment.git
- Install dependencies from
package.jsonfile:
npm install
- Start server and run project
npm run dev