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

I have a large fasta file. I would like to ask how to divide this file into different small fasta files according to the size and keep the sequence of the gene intact.

split

you split your fasta file into 10 new files of relatively same size:

  pyfasta split -n 10 your.fasta

1 answer

seqkit split hairpin.fa.gz -p 4 -2

Log in to answer this question.