The current script executes a blastp (protein to protein) search in the local database by using 20 threads.
The input file is /home1/user/myqyery.fasta
For more details refer to the manual or the online documentation
#!/bin/sh -l
#SBATCH --partition=batch
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=20
#SBATCH --job-name="my_blastp_local"
#SBATCH --output=my_blastp_local.out
#SBATCH --mail-user=mymail@here.gr
#SBATCH --mail-type=ALL
module purge
module load ncbi-blast/2.12.0+
blastp -db /mnt/dbs/ncbi/nr/nr -num_threads 20 -query /home1/user/myqyery.fasta -max_target_seqs 10 -out my_output_blastp.txt
module unload ncbi-blast/2.12.0+