Diamond blastx: does it support SLURM?

Diamond blastx: does it support SLURM?

0

Hello,
I have a cluster composed by 7 nodes (20 threads), running on SLURM (Ubuntu 20.04). I am trying to run the diamond blastx process on the cluster, but it just runs N-times the same process …
Please, can someone tell me what I am missing?
Thank you

#!/bin/bash
#
#SBATCH --job-name=DiamondBlastx
#SBATCH --output=DiamondBlastx_%j.out
#SBATCH --error=DiamondBlastx_%j.err
#SBATCH --ntasks=20

threads=20

srun diamond blastx 
                    -d /storage/RefSeq/refseq_protein_nonredund_diamond.dmnd 
                    -p $threads 
                    -q /storage/homehpc/emastriani/rRNACont/reads_not_rRNA.fq 
                    -a blastx_diamond 
                    -t $TMPDIR 
                    -b 1.0 
                    -k 1 
                    -v 
                    --log


hpc


diamond


sbatch


slurm

• 39 views

Read more here: Source link