Project in Python language for Bioinformatics course starting october '20, aimed at implementing Needleman-Wunsh algorithm.
Python 3.x, packages numpy
, sys
, getopt
, unittest
.
There are two ways to download the program, directly from github and by terminal.
-
Click button Clone or download.
-
Click button Download ZIP.
-
Extract all files from the .zip file.
-
Copy link https://github.com/paldynaagata/Needleman-Wunsh_algorithm.
-
In terminal write command git clone and paste above link.
In terminal by python from catalog src run file run.py with parameters that are paths to files, according to the following formula:
run.py [path_to_seq_1] [path_to_seq_2] [path_to_config_file] [path_to_output_file]
e.g.:
/opt/anaconda/bin/python run.py -a ../data/seq1.txt -b ../data/seq2.txt -c ../configs/config.txt -o ../results/output.txt
In terminal by python from catalog src run the following command:
/opt/anaconda/bin/python -m unittest tests.test_needleman_wunsch_algorithm -v