# Pyrosequence work in Qiime2

**URL:** <https://forum.qiime2.org/t/pyrosequence-work-in-qiime2/29067>\
**Category:** Technical Support\
**Tags:** 454, cutadapt\
**Created:** [January 27, 2024, 2:24am UTC](https://forum.qiime2.org/t/pyrosequence-work-in-qiime2/29067 "2024-01-27T02:24:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![You\_y\_Choi](https://forum.qiime2.org/user_avatar/forum.qiime2.org/you_y_choi/32/12012_2.png) [@You\_y\_Choi](https://forum.qiime2.org/u/You_y_Choi)\
**Post date:** [January 27, 2024, 2:24am UTC](https://forum.qiime2.org/t/pyrosequence-work-in-qiime2/29067/1 "2024-01-27T02:24:45Z")

</div>

Hello, experts.  
I am working with the pyrosequence dataset in Qiime2. I followed this amazing tutorial ([analyzing 454 data in QIIME 2](https://forum.qiime2.org/t/analyzing-454-data-in-qiime-2/25055)), and while applying it to my data, I encountered a problem with cutadapt.

qiime tools import   
--type MultiplexedSingleEndBarcodeInSequence   
--input-format MultiplexedFastaQualDirFmt   
--input-path practice   
--output-path practice\_seqs.qza  
(worked)

qiime cutadapt demux-single   
--i-seqs practice\_seqs.qza   
--m-barcodes-file practice\_Map.txt   
--m-barcodes-column BarcodeSequence   
--o-per-sample-sequences practice\_demux.qza   
--o-untrimmed-sequences unassigned.qza

Plugin error from cutadapt:

Command '['cutadapt', '--front', 'file:/var/folders/bd/kdj7l\_yx1zvf2hfp96yc8s4w0000gn/T/tmp43w4bmv1', '--error-rate', '0.1', '--minimum-length', '1', '-o', '/var/folders/bd/kdj7l\_yx1zvf2hfp96yc8s4w0000gn/T/q2-CasavaOneEightSingleLanePerSampleDirFmt-5lsy40oc/{name}.1.fastq.gz', '--untrimmed-output', '/var/folders/bd/kdj7l\_yx1zvf2hfp96yc8s4w0000gn/T/q2-MultiplexedSingleEndBarcodeInSequenceDirFmt-kt97c3bl/forward.fastq.gz', '/var/folders/bd/kdj7l\_yx1zvf2hfp96yc8s4w0000gn/T/qiime2/GUAN\_LAB/data/f2b32c33-b1c5-4ec6-abb6-119b2a720ad2/data/forward.fastq.gz', '-j', '1']' returned non-zero exit status 2.

Debug info has been saved to /var/folders/bd/kdj7l\_yx1zvf2hfp96yc8s4w0000gn/T/qiime2-q2cli-err-roddkjrp.log

When I see the log files, "ERROR: Character 'P' in adapter sequence 'MPS077743' is not a valid IUPAC code. Use only characters 'ABCDGHIKMNRSTUVWXY'."

It seems that the barcode might be the problem. How can I address this issue? Any ideas would be appreciated.

practice\_Map.txt

| #SampleID | BarcodeSequence | LinkerPrimerSequence | Treatment |
| --- | --- | --- | --- |
| 1017.1.23 | MPS077743 | GAGTTTGATCMTGGCTCAG | CON |
| 1023.1.23 | MPS077755 | GAGTTTGATCMTGGCTCAG | CON |

Many thanks

---

<div class="post-metadata">

**Author:** ![colinbrislawn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinbrislawn/32/6221_2.png) [@colinbrislawn](https://forum.qiime2.org/u/colinbrislawn)\
**Post date:** [January 28, 2024, 3:10pm UTC](https://forum.qiime2.org/t/pyrosequence-work-in-qiime2/29067/2 "2024-01-28T15:10:45Z")

</div>

Hello @You_y_Choi,

> [@You\_y\_Choi](#):
>
> It seems that the barcode might be the problem.

You are correct!

These look like barcode names.  
The column BarcodeSequence should be a sequence, like ATCGTGCTGCTA.

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [February 28, 2024, 9:11pm UTC](https://forum.qiime2.org/t/pyrosequence-work-in-qiime2/29067/3 "2024-02-28T21:11:05Z")

</div>

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