Implementation of the Needleman-Wunsch algorithm in Python 3.x
We use NumPy and pandas for matrix manipulations.
$ pip install pandas
$ pip install numpy
However, we recommend downloading the latest version of Anaconda as it includes several packages (like NumPy and pandas) by default.
An example is shown in example.py
.
The output will be created on a directory called output/
. This will include:
- The score matrix (
score_matrix.csv
) only ifsave_score_matrix_to_file
was set toTrue
. - A log file (
output.log
) including the time of execution of the program (you can also setlevel
toDEBUG
insidelogconfig.ini/[handler_default]
to show the traceback path).