I have a large fasta file and need to bin it by size: everything 200 nt and up in one file, and everything 199 or smaller in another. I have found some useful scripts that will remove the smaller sequences, but they are discarded and I need to keep them in a separate file.
Can anyone suggest a perl script (or anything similar) that will sort out sequences into two files by size cutoff?
Thanks in advance for any advice.
Thanks to you both!
If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.