Files
annotate/detectors/cds/tools/chlorodb/subdb/lib/db.subdb.awk

18 lines
178 B
Awk
Raw Normal View History

#
BEGIN {
if (FILE == "") FILE = "db.sel.txt"
while (getline < FILE)
INC[$1] = $1
close(FILE)
}
/^>/ {
name = substr($1, 2)
ok = name in INC
}
ok {
print $0
}