# Trimming bases and filtering reads

Based on pre-alignment QA/QC, we need to trim low quality bases from the 3' end of reads.

* Click the **Unaligned reads** data node
* Click **Pre-alignment tools** in the task menu
* Click **Trim bases** (Figure 1)

<figure><img src="/files/dONExtdjS4I3u5URwuvx" alt=""><figcaption><p><em>Figure 1. Invoking the Trim bases task</em></p></figcaption></figure>

By default, Trim bases removes bases starting at the 3' end and continuing until it finds a base pair call with a Phred score of equal to or greater than 35 (Figure 2).

* Click **Finish** to run Trim bases with default settings

<figure><img src="/files/yBhA9li63vOYySWEV1Hw" alt=""><figcaption><p><em>Figure 2. Configure the Trim bases task</em></p></figcaption></figure>

The Trim bases task will generate a new data node, Trimmed reads (Figure 3). We can view the task report for Trim bases by double-clicking either the Trim bases task node or the Trimmed reads data node or choosing Task report from the task menu.

<figure><img src="/files/whQWos2eOlKEnY3ynmJT" alt=""><figcaption><p><em>Figure 3. A task and a data node are created from the Trim bases task</em></p></figcaption></figure>

* Double-click the **Trimmed reads** data node to open the task report

The report shows the percentage of trimmed reads and reads removed in a table and two graphs (Figure 4).

<figure><img src="/files/CrDsNc4lBf8c4GLE40v0" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/AKxCgBBX0qAywIGAveGY" alt=""><figcaption><p><em>Figure 4. Results of the Trim bases task</em></p></figcaption></figure>

The results are fairly consistent across samples with \~2% of reads untrimmed, \~86% trimmed, and \~12% removed for each. The average quality score for each sample is increased with higher average quality scores at the 3' ends.

* Click **RNA-Seq 5-AZA** to return to the Analyses tab

## Additional Assistance

If you need additional assistance, please visit [our support page](http://www.partek.com/support) to submit a help ticket or find phone numbers for regional support.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.partek.illumina.com/partek-flow/tutorials/bulk-rna-seq/trimming-bases-and-filtering-reads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
