Skip to content

MSc Biology C++ Course Assignment. A program that can either perform a global, or local sequence alignment. Implementation of the Smith-Waterman and Needleman-Wunsch algorithms.

Notifications You must be signed in to change notification settings

olledejong/Sequence-Alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequence Alignment

A C++ implementation of both the Needleman-Wunsch and Smith-Waterman algorithms

The Needleman-Wunsch and Smith-Waterman algorithms are two algorithms that are very famous and are still widely used when performing sequence alignment. The former is used for performing a global aligment, while the latter is used to perform local alignements. Below is a table that holds their specific differences.

Needleman-Wunsch algorithm Smith-Waterman algorithm
Initialization First row and first column are subject to gap penalty First row and first column are set to 0
Scoring Score can be negative Negative score is set to 0
Traceback Begin with the cell at the lower right of the matrix, end at top left cell Begin with the highest score, end when 0 is encountered

About

MSc Biology C++ Course Assignment. A program that can either perform a global, or local sequence alignment. Implementation of the Smith-Waterman and Needleman-Wunsch algorithms.

Topics

Resources

Stars

Watchers

Forks

Languages