# Analyzing only the forward sample with mixed orientation reads

**URL:** <https://forum.qiime2.org/t/analyzing-only-the-forward-sample-with-mixed-orientation-reads/24687>\
**Category:** User Support\
**Created:** [November 7, 2022, 4:25pm UTC](https://forum.qiime2.org/t/analyzing-only-the-forward-sample-with-mixed-orientation-reads/24687 "2022-11-07T16:25:53Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [November 28, 2022, 10:21am UTC](https://forum.qiime2.org/t/analyzing-only-the-forward-sample-with-mixed-orientation-reads/24687/7 "2022-11-28T10:21:53Z")

</div>

Hi @aiaoz ,

> [@aiaoz](#):
>
> We are actually on our way to develop a tool to fix this problem by sorting the pairs into the correct files. While googling I saw that this is something that happens when the wrong library preparation method is used by the sequencing center.

We already have a method in the QIIME 2 plugin RESCRIPt for reorienting mixed-orientation reads — but it currently only works on FASTA data, not FASTQ. Making that edit in RESCRIPt might be easier than a de novo method. VSEARCH also has an `orient` method that operates on FASTQ, so this should work out of the box.

QIIME 2's q2-cutadapt plugin also allows demultiplexing/re-orientation of mixed-orientation barcoded reads. I _think_ this should work for your case. You can see some relevant discussion here:

> [@Discarded results produced by q2-cutadapt's trim-paired when working with mixed-orientation reads](https://forum.qiime2.org/t/discarded-results-produced-by-q2-cutadapts-trim-paired-when-working-with-mixed-orientation-reads/17570):
>
> Summary We recently discovered a bug related to the q2-cutadapt plugin's demux-paired command that, in certain situations, can unnecessarily discard a significant portion of reads, when the command is run with the --p-mixed-orientation flag. Impact This issue impacts the following versions of q2-cutadapt: 2020.6 2020.8 If you think you may have been impacted please check your provenance at [https://view.qiime2.org](https://view.qiime2.org) for the versions listed above to verify that you ran demux-paired with the mixe…

---

_[View the full topic](https://forum.qiime2.org/t/analyzing-only-the-forward-sample-with-mixed-orientation-reads/24687)._
