Skip to content

I developed a script implementing the Needleman_Wunsch algorithm. The file format is .ipynb: for the algorithm there is a code cell with functions definition and a test cell to see the function working. Running the algorithm require the definition of the class typeException, written in the first cell. This class is used to implement unit tests.

Notifications You must be signed in to change notification settings

GennariAl/Needleman-Wunsch-with-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Needleman-Wunsch-with-Python

I developed a script implementing the Needleman_Wunsch algorithm. The file format is .ipynb: for the algorithm there is a code cell with functions definition and a test cell to see the function working. Running the algorithm require the definition of the class typeException, written in the first cell. This class is used to implement unit tests.

Needleman_Wunsch implementation is a function which takes as inputs the match, mismatch, gap cost and the two sequences to align. It returns a list of two elements (strings), collecting the two sequences aligned. It work smoothy with long sequences, I tested the algorithm with two sequences long nearly 700 bp and it took 6.45s

About

I developed a script implementing the Needleman_Wunsch algorithm. The file format is .ipynb: for the algorithm there is a code cell with functions definition and a test cell to see the function working. Running the algorithm require the definition of the class typeException, written in the first cell. This class is used to implement unit tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published