The k-Nearest Neighbors Resolution Algorithms for Pyroprints (k-RAP) is a set of algorithms designed to resolve the multiple k-nearest neighbors lists that result from comparing an Escherichia coli (E. coli) isolate to a database of E. coli isolates.