PoonLab / OpenRDP

An open-source re-implementation of the RDP4 recombination detection program
GNU General Public License v3.0
45 stars 9 forks source link

Refactor to process triplets one at a time #16

Closed kwade4 closed 3 years ago

kwade4 commented 3 years ago

Currently, each detection method receives a list containing all possible sequence triplets and runs for each triplet in the list. After all methods have executed, the possible recombination events must be consolidated into a singe output file. With this approach, the program must loop over all events for all the detection methods.

Refactoring the detection methods to receive a sequence triplet instead of a list of all triplets would eliminate the need to loop over the output of each method.