<p>Depending on the cluster management tool, you might have received e-mails when the "job" begins and ends. If so, you can check the "Exit status" of the job. For example, in the case of our HPC the relevant lines from the "job completion e-mail" would be:</p>

<pre><code>Execution terminated
Exit_status=0
</code></pre>

<p>BTW, at first I was confused with the phrase "Execution terminated", however, in the scheduler used in our system, it means "the run has been successfully or unsuccessfully completed". <code>Exit_status=0</code> int the next line means a successful run and for the unsuccessful runs there is a list with the error codes.</p>

<p>Secondly, if your run was successful, you would see new fastq files containing "_trimmed" in the filename (reading this from your code). These fastqs should be more or less similar in size to the original depending on how aggressive the trimming settings are.</p>

<p>If you can provide more information, i.e. the type of cluster management tool used, the log file, ..., you can get more help and precise answers from the community.</p>

CC BY-SA 4.0
2020-03-03T06:50:18.173Z
okay, I'm really sorry, but I'm not sure what you mean by cluster management tool or log file. I tried looking around for information on this, and did get kind of stuck. I looked in the HPC for my file, and couldn't find one, so i'm assuming it ran the job but didn't actually give me an output.
user7322
CC BY-SA 4.0
2020-03-03T07:16:11.783Z
You wrote "It did log a job in the HPC", what is in this? In my case, there are two logs at the folder from which I submit my job, one like "jobname.ejobid"  and the other "jobname.ojobid". The first is the error log and the second for the output from the software you are running. Do you have these?
haci
CC BY-SA 4.0
2020-03-03T05:35:58.857Z
2020-03-03T05:35:58.857Z
haci
<p>Sorry if this has been asked before, I've done a quick search and I don't think there's an easy explanation for me to understand.</p>

<p>I'm really new to bioinformatics/RNASEQ analysis, having only taken up an attempt to process my RNASEQ data last week. I have 0 background and some rudimentary knowledge of command line. So far I've managed to get access to my universities HPC and perform a fastqc on my fastq data.</p>

<p>What I'm stuck at at the moment is attempting to trim my RNASEQ data and remove adapters. My data had been run through Novaseq and I'm not exactly sure how to trim my current RNASEQ data.</p>

<p>I've attempted to run the following script using trimmomatic</p>

<pre><code># go to working folder
cd /project/CHR_RNASEQ/reads

# run trimmomatic
trimmomatic SE -threads 8 -phred33 SLIDINGWINDOW:4:20 ILLUMINACLIP:$TRIM/adapters/TruSeq3-SE-2.fa:2:30:10 MINLEN:36 1_R1.fastq.gz 1_R1_trimmed.fastq.gz
</code></pre>

<p>It did log a job in the HPC, but I had no output at the end. I didn't receive an error either. This is unfortunately just some code I had lifted and trialed and errored until something finally ran, but I'm very sure I'm very wrong and any help with understanding this would be really appreciated.</p>

<p>Cheers</p>

CC BY-SA 4.0
2020-03-04T15:21:54.757Z
If you're using a HPC please talk with your IT department to check which [job scheduler](https://en.wikipedia.org/wiki/Job_scheduler) they are using: LSF, SGE, SGE, SLURM, PBS. Most of cases you are not able to run any job without this queue system.
zorbax
<rna-seq><data-preprocessing><trimming>
How to run trimmomatic in HPC
# How to run trimmomatic in HPC

(Asked by: username_0 on 2020-03-03)

Sorry if this has been asked before, I've done a quick search and I don't think there's an easy explanation for me to understand.
I'm really new to bioinformatics/RNASEQ analysis, having only taken up an attempt to process my RNASEQ data last week. I have 0 background and some rudimentary knowledge of command line. So far I've managed to get access to my universities HPC and perform a fastqc on my fastq data.
What I'm stuck at at the moment is attempting to trim my RNASEQ data and remove adapters. My data had been run through Novaseq and I'm not exactly sure how to trim my current RNASEQ data.
I've attempted to run the following script using trimmomatic
# go to working folder
cd /project/CHR_RNASEQ/reads

# run trimmomatic
trimmomatic SE -threads 8 -phred33 SLIDINGWINDOW:4:20 ILLUMINACLIP:$TRIM/adapters/TruSeq3-SE-2.fa:2:30:10 MINLEN:36 1_R1.fastq.gz 1_R1_trimmed.fastq.gz

It did log a job in the HPC, but I had no output at the end. I didn't receive an error either. This is unfortunately just some code I had lifted and trialed and errored until something finally ran, but I'm very sure I'm very wrong and any help with understanding this would be really appreciated.
Cheers

**Tags:** rna-seq, data-preprocessing, trimming
> **Comments:**
> **username_1**: If you're using a HPC please talk with your IT department to check which [job scheduler](https://en.wikipedia.org/wiki/Job_scheduler) they are using: LSF, SGE, SGE, SLURM, PBS. Most of cases you are not able to run any job without this queue system.  

---

## 1 answers

### Answer by username_2 on 2020-03-03. Score: 1

Depending on the cluster management tool, you might have received e-mails when the "job" begins and ends. If so, you can check the "Exit status" of the job. For example, in the case of our HPC the relevant lines from the "job completion e-mail" would be:
Execution terminated
Exit_status=0

BTW, at first I was confused with the phrase "Execution terminated", however, in the scheduler used in our system, it means "the run has been successfully or unsuccessfully completed". Exit_status=0 int the next line means a successful run and for the unsuccessful runs there is a list with the error codes.
Secondly, if your run was successful, you would see new fastq files containing "_trimmed" in the filename (reading this from your code). These fastqs should be more or less similar in size to the original depending on how aggressive the trimming settings are.
If you can provide more information, i.e. the type of cluster management tool used, the log file, ..., you can get more help and precise answers from the community.

> **Comments:**
> **username_0**: okay, I'm really sorry, but I'm not sure what you mean by cluster management tool or log file. I tried looking around for information on this, and did get kind of stuck. I looked in the HPC for my file, and couldn't find one, so i'm assuming it ran the job but didn't actually give me an output.  
> **username_2**: You wrote "It did log a job in the HPC", what is in this? In my case, there are two logs at the folder from which I submit my job, one like "jobname.ejobid"  and the other "jobname.ojobid". The first is the error log and the second for the output from the software you are running. Do you have these?  

---

