added some stuff for sequence analysis