# Orientation of mate-pairs for paired end illumina reads

**URL:** <https://forum.mothur.org/t/orientation-of-mate-pairs-for-paired-end-illumina-reads/1775>\
**Category:** Commands in mothur\
**Created:** [April 4, 2014, 6:36pm UTC](https://forum.mothur.org/t/orientation-of-mate-pairs-for-paired-end-illumina-reads/1775 "2014-04-04T18:36:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmundra](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sunilmundra](https://forum.mothur.org/u/sunilmundra)\
**Post date:** [April 4, 2014, 6:36pm UTC](https://forum.mothur.org/t/orientation-of-mate-pairs-for-paired-end-illumina-reads/1775/1 "2014-04-04T18:36:12Z")

</div>

Hello,  
I have a MiSeq run which produced two fastq files; one of which contained all forward reads, and the second all reads in the same orientation that needed to be reverse complimented.

In my data each fastq file shows a mixture of orientated reads:

Fastq1  
BARCODE–F. PRIMER–NNNN  
BARCODE–R.PRIMER–NNNN

Fastq 2  
BARCODE–R.PRIMER–NNNN  
BARCODE–F. PRIMER–NNNN

I guess that make\_contigs script designed to join overlapping PE reads will not be able to take into consideration the mixture of Fwd and Rev sequences in each file?  
is this normal, or should I be seeing all Fwd and Rev primer sequences in separate Fastqs?  
is there any way to analyses such data by MOTHUR?  
I also have barcode with variable length?  
I have used mothur for 454 data analysis but i a new to Illumina data and not good in custom scripting.  
Any help for demultiplexing of such a complex data would be really great.  
Cheers,  
Sunil Mundra

---

<div class="post-metadata">

**Author:** ![sunilmundra](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sunilmundra](https://forum.mothur.org/u/sunilmundra)\
**Post date:** [April 7, 2014, 8:50am UTC](https://forum.mothur.org/t/orientation-of-mate-pairs-for-paired-end-illumina-reads/1775/2 "2014-04-07T08:50:29Z")

</div>

Hello,  
Looking forward to have feedback here, than i can proceed further with my analysis  
Regards  
Sunil 🙂

---

<div class="post-metadata">

**Author:** ![westcott](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/westcott/32/18_2.png) [@westcott](https://forum.mothur.org/u/westcott)\
**Post date:** [April 7, 2014, 7:38pm UTC](https://forum.mothur.org/t/orientation-of-mate-pairs-for-paired-end-illumina-reads/1775/3 "2014-04-07T19:38:22Z")

</div>

I will add the reorient parameter to the make.contigs command for version 1.34.0 to help with this situation.

---

<div class="post-metadata">

**Author:** ![sunilmundra](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sunilmundra](https://forum.mothur.org/u/sunilmundra)\
**Post date:** [April 7, 2014, 7:43pm UTC](https://forum.mothur.org/t/orientation-of-mate-pairs-for-paired-end-illumina-reads/1775/4 "2014-04-07T19:43:06Z")

</div>

Hi,That would be great.  
How i should proceed for now, in this situation?  
Is this something wrong in sequencing or it is usual for illumina sequencing?  
Also while using make.contigs, we are not able to do quality filtering of the sequencing as we didnt get any quality file along with fasta file?  
Regards

Sunil

---

<div class="post-metadata">

**Author:** ![sunilmundra](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sunilmundra](https://forum.mothur.org/u/sunilmundra)\
**Post date:** [April 11, 2014, 6:49pm UTC](https://forum.mothur.org/t/orientation-of-mate-pairs-for-paired-end-illumina-reads/1775/5 "2014-04-11T18:49:53Z")

</div>

Hi,  
Is this mothur version 1.34.0 with re-orient parameter has been release, i am unable to download it?  
How we can do quality filtering for paired end illumina reads in mothur?  
regards  
sunil
