# \*.files vs \*.paired.files

**URL:** <https://forum.mothur.org/t/files-vs-paired-files/20523>\
**Category:** mothur bugs\
**Created:** [May 20, 2020, 5:26pm UTC](https://forum.mothur.org/t/files-vs-paired-files/20523 "2020-05-20T17:26:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amichaud](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@amichaud](https://forum.mothur.org/u/amichaud)\
**Post date:** [May 20, 2020, 5:26pm UTC](https://forum.mothur.org/t/files-vs-paired-files/20523/1 "2020-05-20T17:26:54Z")

</div>

Greetings,

Every time I have run mothur, I get the typical name progression of $NAME.trim.contigs.fasta (and so on for all other steps). This time I ran mothur (only with 2 samples), and a “paired” was added into the name, such that the file names were now $NAME.paired.trim.contigs.fasta

Batch Mode

Setting environment variable OUTPUT\_DIR to /home/amichaud/nv\_out

mothur \> set.dir(output=/home/amichaud/nv\_out)  
Mothur’s directories:  
outputDir=/home/amichaud/nv\_out/

mothur \> make.file(inputdir=/home/amichaud/nv\_seqs, type=fastq, prefix=nv)  
Setting input directory to: /home/amichaud/nv\_seqs/

Output File Names:  
/home/amichaud/nv\_out/nv.single.files  
/home/amichaud/nv\_out/nv.paired.files

mothur \> make.contigs(file=current, processors=80)  
Using /home/amichaud/nv\_out/nv.paired.files as input file for the file parameter.

I am trying to make a batch file for our lab and had it working before, but now I need to include “paired” into the batch file or will this be different again next time I run? Just a bit confused.

Thanks,  
Alex

---

<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:** [May 21, 2020, 6:19pm UTC](https://forum.mothur.org/t/files-vs-paired-files/20523/2 "2020-05-21T18:19:25Z")

</div>

The make.file command searches the input directory for \*.fastq files and then tries to pair them based on the names of the files. If mothur is able to pair all the fastq files, then the output file is names nv.files. If mothur is able to pair some of the fastq files but others remain unpaired, then 2 output files are created: nv.paired.files and nv.single.files.

---

<div class="post-metadata">

**Author:** ![amichaud](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@amichaud](https://forum.mothur.org/u/amichaud)\
**Post date:** [May 21, 2020, 8:46pm UTC](https://forum.mothur.org/t/files-vs-paired-files/20523/3 "2020-05-21T20:46:50Z")

</div>

Thanks, Sarah! I understand now.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/system/32/2_2.png) [@system](https://forum.mothur.org/u/system)\
**Post date:** [May 31, 2020, 8:46pm UTC](https://forum.mothur.org/t/files-vs-paired-files/20523/4 "2020-05-31T20:46:54Z")

</div>

Closed on May 31, 2020, 8:46pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
