new script for sumarizing features for easiest compairison

Former-commit-id: 348556d9cd376fc017b6b67859e6268083c942d9
Former-commit-id: 034f32f7b2caec70e604c50dd90786a3df0942e0
This commit is contained in:
2022-02-17 18:42:55 +01:00
parent 0f6b447c5c
commit d75cb117d3

12
summarize_annot.sh Executable file
View 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
}'