# Replace barcode sequence with sample-Id

**URL:** https://forum.qiime2.org/t/replace-barcode-sequence-with-sample-id/3314
**Category:** User Support
**Tags:** demux
**Created:** [March 5, 2018, 2:26pm UTC](https://forum.qiime2.org/t/replace-barcode-sequence-with-sample-id/3314 "2018-03-05T14:26:23Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)
#### Post date: [March 7, 2018, 9:11pm UTC](https://forum.qiime2.org/t/replace-barcode-sequence-with-sample-id/3314/7 "2018-03-07T21:11:13Z")

</div>

Hi @M.Amine.Hassan!

> [@M.Amine.Hassan](#):
>
> I think I have misstated the question.
> 
> The manifest renames the file.fastq.

Did you see my question above? I will copy it here in case:

> [@thermokarst](#):
>
> Are you sure your reads are demultiplexed? Just double-checking, because those filenames imply otherwise.

The manifest format is only for already demultiplexed data. It really sounds like your reads aren't demultiplexed, but if you could confirm one way or the other, that would be great. If they aren't demultiplexed, we should be able to import as `MultiplexedPairedEndBarcodeInSequence`, and follow along with the [q2-cutadapt community tutorial](https://forum.qiime2.org/t/demultiplexing-and-trimming-adapters-from-reads-with-q2-cutadapt/2313) to demultiplex these reads.

This is similar to what was suggested to you above:

> [@M.Amine.Hassan](#):
>
> At anystep described so far I used the map\_file.txt to indicated which barcode sequence correspond to which sample (Mock/Condition) as indicated in the Moving Pictures

but I don't think your multiplexed reads are in EMP format, so we can't use the command suggested to you.

Keep us posted! 🦖

---

_[View the full topic](https://forum.qiime2.org/t/replace-barcode-sequence-with-sample-id/3314)._
