Which script to use when submitting job with trinity in apocrita?
0
1
Entering edit mode
7.5 years ago
oshin707 ▴ 10

So I have been trying to submit a job on apocrita with use of trinity but I have been getting the script wrong. and they say the job has been submitted but i cant see the status by using qstat or anything. can anyone suggest a solution.

i have used this script.

#! /bin/sh

#$ -cwd

#$ -V

#$ -N transcriptomereads

#$ -o transcriptomereads.out

#$ -j y

#$ -l h_vmem=2G

#$ -pe smp 10

module load trinity/2.2.0

module load java/oracle/1.8.0_11

Trinity --seqType fq --single transcriptomereads.trimmed.fq.gz --CPU 10 --max_memory 20G
Assembly • 1.8k views
ADD COMMENT
0
Entering edit mode

Is apocrita a cluster you are submitting this job to? If so it would be best to contact your local cluster admins.

BTW: Trinity needs plenty of RAM so make sure you make that available. 20G is likely not going to cut it with 10 cores.

ADD REPLY
0
Entering edit mode

i just want to know the basic script format to submit job using trinity. how can i do that? its for an assignment.

ADD REPLY
0
Entering edit mode

Exact script your cluster requires is going to be dependent on job scheduler it uses and local policies. The trinity command you have in the script above looks ok as far as that format goes.

What job scheduler is your cluster using?

ADD REPLY
0
Entering edit mode

i m like a completely new student with microbiology background and zero experience with bioinformatics. so please forgive me if i am wrong. but by job scheduler do u mean where we submit jobs via? it is Sun Grid Engine

ADD REPLY
0
Entering edit mode

That is correct.

If it is the same apocrita cluster as you are referring to then this link gives you help about how to submit jobs.

Trinity processes require 10G memory each so modify this parameter to

#$ -l h_vmem=10G

Also add (if not there)

#$ -M your_valid_email_address

So you get some email from the cluster about what is going on.

ADD REPLY
0
Entering edit mode

ok thank you. i will try this.

ADD REPLY
0
Entering edit mode

hi so it did run. but stopped becz of lack of memory. what should i do now? h_vmem and increase max_memory?

ADD REPLY
0
Entering edit mode

How much total memory is your account allowed to use? Divide memory number by 10 and change the number of cores to that number in the --CPU option and #$ -pe smp

ADD REPLY

Login before adding your answer.

Traffic: 2898 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6