Sequence structure function