Entering edit mode
5.7 years ago
Elizabeth
▴
30
Hello, I am looking for a command that can tell me the number of gene models after each round of MAKER. I have tried the following:
less Maker2.all.gff |awk '$3=="mRNA"' |grep "mRNA-1" |awk '{print $5-$4}' |summary.sh
cat <roundN.full.gff> | awk '{ if ($3 == "gene") print $0 }' | awk '{ sum += ($5 - $4) } END { print NR, sum / NR }'
But, my terminal seems to hang, every time I run the command. Has anyone encountered a similar problem ?
What does
summary.sh
?