replace the incorrectly merged seq.py with the version in Adam's public_release