# 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="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-6e65750848c095596619095ef96643dc9729b850%2Fselect%20trim%20bases%20task.png?alt=media" 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="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-14cb60df4a5414472e15c0eac62d0a59009f53f6%2Fconfigure%20trim%20bases.png?alt=media" 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="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-ad36e6274f4a0f72e7caf91fbc25490140c90f06%2Ftrim%20bases%20task%20and%20data%20node.png?alt=media" 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="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-774eef4820365076b219fc7ff57aea31f8ce1531%2Ftrimmed%20reads%20plots.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-ae61644feabb9d46fbbfaec6def516b91106f612%2Ftrimmed%20reads%20table.png?alt=media" 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.
