Created
June 12, 2020 19:30
-
-
Save MADscientist314/7a92df036381ea54090146daa99c101a to your computer and use it in GitHub Desktop.
docker blastn
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
docker run -it -v $PWD:$PWD --name blast_nt ncbi/blast | |
update_blastdb.pl --showall [*] | |
#cd /media/jochum00/Aagaard_Raid/reference_datasets/ncbi_db | |
#mkdir nt | |
#cd nt | |
update_blastdb.pl --decompress --source gcp --verbose --verbose nt | |
export BLASTDB=/media/jochum00/Aagaard_Raid/reference_datasets/ncbi_db/nt | |
blastn \ | |
-task megablast \ | |
-max_target_seqs 1 \ | |
-num_threads 32 \ | |
-db_soft_mask 30 \ | |
-outfmt 7 \ | |
-query # put your query fasta here | |
-db nt \ | |
-out #.blastn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this script will launch a docker container for ncbi blast+ and build the prebuilt nt database, then blast a query against it.