8 lines
155 B
Bash
8 lines
155 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
grep -A 1 ' ORGANISM' $* | \
|
||
|
grep -B 1 Viridiplantae | \
|
||
|
awk '{print $1}' | \
|
||
|
grep '\.gbk' | \
|
||
|
sed -E 's/(^.*\.gbk).$/\1/' | \
|
||
|
uniq
|