- main.py: function to run alignment of a list of pairs given gap and gap extension penalties
- submit_all_gaps.py: function to submit all 20 gap opening and 5 extension penalties
- swalign.py/SW_align.py: funtions to complete Smith Waterman Alignment (duplicated)
- run_optimizeMet.py: function that runs many iterations of optimization of a matrix
- optimizeMet.py: function that permutes a given matrix and calculates sum of true positives at false positive rates of 0, 0.1, 0.2, 0.3
- calcRates: calcultes false positive rate given true positive rate of 0.7
- rocPlot.py: function to plot ROC curve given positive and negative scores
python -m functions /pathto/scoringmatrix /pathto/Pospairs.txt -10 -4 PosScoreTest10_4.txt PosAlignTest10_4.txt
Testing is as simple as running
python -m pytest
from the root directory of this project.