Traditional and Efficient Implementation of the Sequence Alignment Problem
Traditional Approach- Dynamic Programming (sub.py) Efficient Approach- Divide and Conquer Plus Dynamic Programming (ef.py)
- 2 strings that need to be aligned, should be generated from the string generator mentioned above.
- Gap penalty (δe).
- Mismatch penalty (αpq)
Both the files output an "output.txt" file containing the following information:
- The first 50 elements and the last 50 elements of the actual alignment.
- The time it took to complete the entire solution.
- Memory required
run the commands:
python3 sub.py
python3 ef.py