The current script executes a blastn (nucleotide to nucleotide) search in the remote database (ncbi servers)
The input file is /home1/user/myqyery.fasta. Use of num_threads option in remote execution is not feasible.
For more details refer to the manual or the online documentation
#!/bin/sh -l
#SBATCH --partition=batch
#SBATCH --nodes=1
#SBATCH --job-name="my_blastn_remote"
#SBATCH --output=my_blastn_local.out
#SBATCH --mail-user=mymail@here.gr
#SBATCH --mail-type=ALL
module purge
module load ncbi-blast/2.12.0+
blastn -db nt -remote -query /home1/user/myqyery.fasta -max_target_seqs 10 -out my_output_blastn.txt
module unload ncbi-blast/2.12.0+