Recently I installed BLAST for command line on Windows (see code below), and this works.
However, when I restart the command-line prompt, the command blastn does not work immediately, unless I go back to the actual folder and then issue the command. The same applies for setting up a local database; I have to re-run the code which sets up the database. Therefore I was wondering how load the BLAST functionalities and objects into the command line immediately instead of redoing the work.
#Command line BLAST #Download BLAST: ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ #Install: ncbi-blast-2.7.1+-win64.exe #Save test.fasta in C:\Program Files\NCBI\blast-2.7.1+ cd C:\Program Files\NCBI\blast-2.7.1+ blastn -version blastn -db nr -query test.fasta -remote -out test_query.txt