The clinical work they're doing is great, but the code is problematic. Its a bunch of Perl and Python duct taped together with shell scripts.
From the github repo:
Shell 84.3% Perl 8.9% Python 6.3% C 0.5%
Check out the source https://github.com/chiulab/surpi