Skip to content

Instantly share code, notes, and snippets.

@joowkim
Last active September 27, 2018 04:44
Show Gist options
  • Save joowkim/a0afaa1366ec58c697c21224a5aca1bb to your computer and use it in GitHub Desktop.
Save joowkim/a0afaa1366ec58c697c21224a5aca1bb to your computer and use it in GitHub Desktop.
bash this.sh *.fasta
Line=0
for var in "$@"
do
Line=`grep -c ">" $var`
echo $var $Line >> read.cnt.log
done
cat read.cnt.log | sort -k 2 -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment