This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Fasta sequence of nucleotide sequences

I have fasta format nucleotides sequences. I want to filter less than 200 fasta sequence from file.Please tell me any software or tool?

sequence

2 answers

reformat.sh in=reads.fasta out=filtered.fasta minlength=200

http://sourceforge.net/projects/bbmap/

awk '/^>/ {N++;if(N>200) exit 0;} {print;}' in.fa

Log in to answer this question.