This is not a very memory friendly way of counting sequences from a multi fasta, any ideas to improve this?
generator = SeqIO.parse("test_fasta.fasta","fasta")
sizes = [len(rec) for rec in SeqIO.parse("test_fasta.fasta", "fasta")]
I'm avoiding using tools like grep since I want to make this more portable
Count/concatenate/check length?
Count as in the description, also could have guessed from the example. PD title updated
bioawk? github.com/lh3/bioawk