Or to test all files with one command:
testformat.sh *.fq
Only caveat is it does not recognizes separated paired files as paired, but this will have no effect for what you want to do.
edit: sorry, just noticed it doesn't output file name. A solution would be something like:
for i in *.fq
do
echo $i; testformat.sh $i;
done
• 0 views
•
link
Although there might be a solution which does what you want... This shouldn't be too hard to write a custom script for, do you have any experience with that? I would write it in python, but that's a personal preference.