Skip to content

Instantly share code, notes, and snippets.

@meren
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meren/6cfdbab404b282989918 to your computer and use it in GitHub Desktop.
Save meren/6cfdbab404b282989918 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
for f in `cat 00_FILES`
do
d=`date`
echo "[$d] working on $f ..."
svr_assign_to_dna_using_figfams < $f > svr_assign_to_dna_using_figfams.txt
papi-gen-annotation-database -f $f -o ANNOTATION.db
papi-populate-genes-table ANNOTATION.db -i svr_assign_to_dna_using_figfams.txt -p myrast_cmdline_dont_use
papi-export-genes-table ANNOTATION.db -o $f-RAST.txt
rm ANNOTATION.db
rm svr_assign_to_dna_using_figfams.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment