Sequence classification in all-subsequence space