Scott Markel's additions + some tweaking for hmmalign