I have alignment that has sequences with an average length of 900 base pairs (bp). I would like to breakup this alignment into several blocks of alignments each 300 bases long. I can do that in Se-Al by simply copying and pasting into a new window, but I wanted to know if there is a command line tool that can allow me to do so. I want to specify a window length in the command (e.g 300), and it outputs for me several alignments (300 bp each) extracted consecutively from my original big alignment (900 bp) and also with the correct sequence labels. Thank you in advance
an example of input/output is needed
An example of input and ouputs:
ok, so it's fasta....