You are here: BeGenDiv » LocalBlast

LocalBlast

This is a description of how to perform a BLAST search on your local machine. Complete documentation can be found at NCBI.

Install NCBI BLAST

Ubuntu:
sudo apt-get install ncbi-blast+
Linux/Unix Cluster:
# download sources
wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.2.28+-x64-linux.tar.gz
# unpack sources
tar -xvzf ncbi-blast-2.2.28+-x64-linux.tar.gz
Now the BLAST executables are located in ncbi-blast-2.2.28+/bin. Make sure to include the complete path when calling any BLAST executable, e.g.:
/home/digga/src/ncbi-blast-2.2.28+/bin/blastn [...]

(By the time this HOWTO was written 2.2.28 was the latest version. Make sure that you change the version number to the latest one when donloading BLAST.)

Target Database

What sequences should the input be mapped to?

NCBI Database

Example: nt database:
# choose an appropriate location for the database files
cd ~/blastdb
# download database files
update_blastdb nt
# unpack database files
for f in nt.??.tar.gz
do tar -xvzf $f
done

Custom Database

Example: SILVA database:
# choose an appropriate location for the database files
cd ~/blastdb
# download FASTA files
wget wget http://www.arb-silva.de/fileadmin/silva_databases/release_115/Exports/SSURef_NR99_115_tax_silva.fasta.tgz
# unpack database file
tar -xvzf SSURef_NR99_115_tax_silva.fasta.tgz
# format FASTA sequences for use as BLAST db
makeblastdb -in SSURef_NR99_115_tax_silva.fasta -dbtype nucl -out silva_ssu

Run BLAST

blastn -query SSURef_NR99_115_tax_silva.fasta \
       -db ~/blastdb/silva_ssu \
       -out blast_results \
       -outfmt 6 \
       -num_threads 8

Comments

1

-- WikiGuest - 19 May 2024

1

-- WikiGuest - 19 May 2024

1

-- WikiGuest - 19 May 2024

y3qWirJP

-- WikiGuest - 19 May 2024

-1 OR 2+947-947-1=0+0+0+1 --

-- WikiGuest - 19 May 2024

-1 OR 3+947-947-1=0+0+0+1 --

-- WikiGuest - 19 May 2024

-1 OR 2+740-740-1=0+0+0+1

-- WikiGuest - 19 May 2024

-1 OR 3+740-740-1=0+0+0+1

-- WikiGuest - 19 May 2024

-1' OR 2+518-518-1=0+0+0+1 --

-- WikiGuest - 19 May 2024

-1' OR 3+518-518-1=0+0+0+1 --

-- WikiGuest - 19 May 2024

-1' OR 2+174-174-1=0+0+0+1 or 'FHZjee13'='

-- WikiGuest - 19 May 2024

-1' OR 3+174-174-1=0+0+0+1 or 'FHZjee13'='

-- WikiGuest - 19 May 2024

-1" OR 2+704-704-1=0+0+0+1 --

-- WikiGuest - 19 May 2024

-1" OR 3+704-704-1=0+0+0+1 --

-- WikiGuest - 19 May 2024

if(now()=sysdate(),sleep(15),0)

-- WikiGuest - 19 May 2024

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

-- WikiGuest - 19 May 2024

0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

-- WikiGuest - 19 May 2024

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

-- WikiGuest - 19 May 2024

-1

-- WikiGuest - 19 May 2024

-1)

-- WikiGuest - 19 May 2024

1 waitfor delay '0:0:15' --

-- WikiGuest - 19 May 2024

4WroyYxt'

-- WikiGuest - 19 May 2024

-5 OR 677=(SELECT 677 FROM PG_SLEEP(15))--

-- WikiGuest - 19 May 2024

-5) OR 723=(SELECT 723 FROM PG_SLEEP(15))--

-- WikiGuest - 19 May 2024

-1)) OR 747=(SELECT 747 FROM PG_SLEEP(15))--

-- WikiGuest - 19 May 2024

0K2TMYkw' OR 279=(SELECT 279 FROM PG_SLEEP(15))--

-- WikiGuest - 19 May 2024

x7DxpS6Y') OR 453=(SELECT 453 FROM PG_SLEEP(15))--

-- WikiGuest - 19 May 2024

pXsEQO2L')) OR 563=(SELECT 563 FROM PG_SLEEP(15))--

-- WikiGuest - 19 May 2024

1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

-- WikiGuest - 19 May 2024

1'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

-- WikiGuest - 19 May 2024

1'"

-- WikiGuest - 19 May 2024

1��%2527%2522

-- WikiGuest - 19 May 2024

@@wZqcc

-- WikiGuest - 19 May 2024

-- WikiGuest - 26 Sep 2024

-- WikiGuest - 26 Sep 2024

1

-- WikiGuest - 26 Sep 2024

1

-- WikiGuest - 26 Sep 2024

1

-- WikiGuest - 26 Sep 2024

UlJoFcRx

-- WikiGuest - 26 Sep 2024

1*1

-- WikiGuest - 26 Sep 2024

1*388*383*0

-- WikiGuest - 26 Sep 2024

1*1

-- WikiGuest - 26 Sep 2024

1*238*233*0

-- WikiGuest - 26 Sep 2024

1*1

-- WikiGuest - 26 Sep 2024

1*143*138*0

-- WikiGuest - 26 Sep 2024

1*1

-- WikiGuest - 26 Sep 2024

1*219*214*0

-- WikiGuest - 26 Sep 2024

-1 OR 2+512-512-1=0+0+0+1

-- WikiGuest - 26 Sep 2024

-1 OR 3+512-512-1=0+0+0+1

-- WikiGuest - 26 Sep 2024

if(now()=sysdate(),sleep(15),0)

-- WikiGuest - 26 Sep 2024

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

-- WikiGuest - 26 Sep 2024

0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

-- WikiGuest - 26 Sep 2024

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

-- WikiGuest - 26 Sep 2024

-1

-- WikiGuest - 26 Sep 2024

-1)

-- WikiGuest - 26 Sep 2024

1 waitfor delay '0:0:15' --

-- WikiGuest - 26 Sep 2024

NzDROwTL'

-- WikiGuest - 26 Sep 2024

-5 OR 43=(SELECT 43 FROM PG_SLEEP(15))--

-- WikiGuest - 26 Sep 2024

-5) OR 91=(SELECT 91 FROM PG_SLEEP(15))--

-- WikiGuest - 26 Sep 2024

-1)) OR 612=(SELECT 612 FROM PG_SLEEP(15))--

-- WikiGuest - 26 Sep 2024
 

-- WikiGuest - 19 May 2024
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback