Skip to content
Advertisement

Tag: createfile

Split fasta file into specific new fasta files

So I’m writing this code that will read a fasta file. In the fasta file, there will be 10 sequences. The start of the sequence will be “>” I want to split 50:50 of those sequences and create two new fasta files with it. 5 sequences in one new file; the other 5 sequences in another new file. I have

Advertisement