Text this: Principal component analysis and its generalizations for any type of sequence (PCA-Seq)