Skip to content

Instantly share code, notes, and snippets.

@chasemc
Created January 28, 2021 14:21
Show Gist options
  • Save chasemc/17bae3db854af27a491bf1c57ae957bf to your computer and use it in GitHub Desktop.
Save chasemc/17bae3db854af27a491bf1c57ae957bf to your computer and use it in GitHub Desktop.
Get CDS IDs from all antismash genbank files in all subdirectories
find -name "*region*gbk" | xargs grep "CDS " -A3 | grep "/ID=" | cut -d'"' -f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment