new script for sumarizing features for easiest compairison
Former-commit-id: 348556d9cd376fc017b6b67859e6268083c942d9 Former-commit-id: 034f32f7b2caec70e604c50dd90786a3df0942e0
This commit is contained in:
12
summarize_annot.sh
Executable file
12
summarize_annot.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
egrep "^FT (CDS|rRNA|tRNA) |/gene=" $1 \
|
||||
| awk '
|
||||
/\/gene=/ && (gene!=1) {
|
||||
print $0;
|
||||
gene=1
|
||||
}
|
||||
/^FT (CDS|rRNA|tRNA)/ {
|
||||
print $0;
|
||||
gene=0
|
||||
}'
|
Reference in New Issue
Block a user