Extensions helper function for different type of bio-sequence.