Hello, I am currently trying to assemble RNA-seq data with the software Trinity. I got an error related to samtools installation. Here is the script i use :
#!/bin/bash
#SBATCH --job-name trinity_dpla # this is a parameter to help you sort your job when listing it
#SBATCH --mem 100G
#SBATCH --cpus-per-task 12
#SBATCH --partition shared-cpu # the partition to use. By default debug-cpu
#SBATCH --time 12:00:00 # maximum run time.
ml GCC/8.3.0 SAMtools/1.10 OpenMPI/3.1.4 Trinity/2.9.1-Python-3.7.4
srun Trinity --seqType fq
–left “Rep1_1.sp.fastq.gz,Rep2_1.sp.fastq.gz”
–right “Rep1_2.sp.fastq.gz,Rep2_2.sp.fastq.gz”
–CPU 12
–max_memory 90G
–output /home/users/e/evann/scratch/01_Trinity_Assembly.
and here is the error i get
Trinity version: Trinity-v2.9.1
-ERROR: couldn’t run the network check to confirm latest Trinity software version.
Argument “error” isn’t numeric in numeric ne (!=) at /opt/ebsofts/Trinity/2.9.1-foss-2019b-Python-3.7.4/trinityrnaseq-v2.9.1/Trinity line 3865.
Error, need samtools installed that is at least as new as version 1.3 at /opt/ebsofts/Trinity/2.9.1-foss-2019b-Python-3.7.4/trinityrnaseq-v2.9.1/Trinity line 3866.
srun: error: cpu331: task 0: Exited with exit code 127
I didn’t find a solution to this. Can somebody help me?
Thank you in advance