A python script for linear pathway alignment