# pre.cluster in batch mode

**URL:** https://forum.mothur.org/t/pre-cluster-in-batch-mode/1500
**Category:** Commands in mothur
**Created:** [September 11, 2013, 4:31pm UTC](https://forum.mothur.org/t/pre-cluster-in-batch-mode/1500 "2013-09-11T16:31:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gwidmer](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@gwidmer](https://forum.mothur.org/u/gwidmer)
#### Post date: [September 11, 2013, 4:31pm UTC](https://forum.mothur.org/t/pre-cluster-in-batch-mode/1500/1 "2013-09-11T16:31:19Z")

</div>

sorry if this has already been discussed - can’t find any threads on this topic.

Hi Pat and Sarah,

I am using pre.cluster() in a batch file following unique.seqs. This is for de-noising MiSeq sequences. It seems that pre.cluster does not find the name file as I get the following warning: “This command can take a namefile and you did not provide one. The current namefile is MSB\_index25\_9864.chop.good.filter.names which seems to match MSB\_index25\_9864.chop.good.filter.unique.fasta.”

The .map file output by pre.cluster indicates that the name file was ignored.

thanks,

Giovanni Widmer

---

<div class="post-metadata">

### Author: ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)
#### Post date: [September 11, 2013, 5:28pm UTC](https://forum.mothur.org/t/pre-cluster-in-batch-mode/1500/2 "2013-09-11T17:28:46Z")

</div>

are you using name=current when you run pre.cluster?

---

<div class="post-metadata">

### Author: ![gwidmer](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@gwidmer](https://forum.mothur.org/u/gwidmer)
#### Post date: [September 11, 2013, 5:38pm UTC](https://forum.mothur.org/t/pre-cluster-in-batch-mode/1500/3 "2013-09-11T17:38:31Z")

</div>

I did not. I wasn’t aware there was such a thing…thanks for quick reply, much appreciated! Congrats on the 1000 citations : )
