Contains different functions to handle different kind of sequences