Add begin and analyze_seq
.