This repository contains a simple implementation of a pairwise alignment algorithm for FASTA files using the Needleman-Wunsch algorithm.
- Reads sequences from FASTA files
- Aligns sequences using the Needleman-Wunsch algorithm
- Outputs aligned sequences to the console and a file
- CMake 3.10 or higher
- C++11 or higher
-
Clone the repository:
git clone https://github.com/yourusername/SimplePairwiseAlignment.git cd SimplePairwiseAlignment
-
Create a build directory and navigate to it:
mkdir build cd build
-
Generate the build files using CMake:
cmake ..
-
Build the project using make:
make
-
Run the executable:
./PairwiseAlignment
-
View the output:
- The aligned sequences will be printed to the console.
- The aligned sequences will be saved in
aligned_sequences.txt
in thebuild
directory.
This project is licensed under the MIT License - see the LICENSE file for details.