script for reading sequences