Hi,
Is there any way I can make this simpler?
I have several files called sample1.fasta to sample7.fasta
This is the command I would like to do in Unix,
grep -e '^>' sample1.fasta | wc -l ; grep -e '^>' sample2.fasta | wc -l ; (all the way till sample 7)
The number of samples is dynamic and changes, maybe something that I can ask for the user for input.
Appreciate any help, I know it sounds a bit newbish but I am trying to link perl scripts together with unix commands.
Cheers!!