done porting trim_seq and do tests
Merge branch 'trim-seq' into develop