the script
Merge https://github.com/pawelosipowski/sequence_trimming