big change. add multi functional extract_sequence_by_pattern.pl