Skip to content

Instantly share code, notes, and snippets.

@ar0ch ar0ch/
Last active Jan 31, 2018

What would you like to do?
Automatically create blastdb + restart sequence server
j=$(basename $1)
/usr/bin/makeblastdb -in $1 -dbtype $2 -title $j
killall sequenceserver
/usr/bin/screen -dmS ss /usr/local/bin/sequenceserver -d=/home//blast/public/blast/ -H -p 4567 > /dev/null

incrontab entries

Edit your incrontab with incrontab -e

*/2 * * * * /home/blast/public/blast/genomic/ IN_MOVED_TO /home/blast/ $@$# nucl
*/2 * * * * /home/blast/public/blast/protein/ IN_MOVED_TO /home/blast/ $@$# prot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.