*/2 * * * * /home/blast/public/blast/genomic/ IN_MOVED_TO /home/blast/addblastdb.sh $@$# nucl
*/2 * * * * /home/blast/public/blast/protein/ IN_MOVED_TO /home/blast/addblastdb.sh $@$# prot
Last active
May 6, 2022 03:38
-
-
Save ar0ch/2efb5d86ed3b7165443326cec52f2637 to your computer and use it in GitHub Desktop.
Automatically create blastdb + restart sequence server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
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 127.0.0.1 -p 4567 > /dev/null | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment