better error handling with ray
replace pandaseq with pear
move a couple of utility functions
save intermediate mapping if requested
create the sequence dictionary when parsing
change the hard-coded path to the neighbours file