demux cutadapt visualizer problem

Hi there,
I have a problem with demux cutadpt visualization. I cannot produce a .qzv file. Here we go!

qiime cutadapt demux-paired
–i-seqs both.qza
–m-forward-barcodes-file metadata.tsv
–m-forward-barcodes-column staggerandbarcodeF
–m-reverse-barcodes-file metadata.tsv
–m-reverse-barcodes-column staggerandbarcodeR
–o-per-sample-sequences demuxboth.qza
–o-untrimmed-sequences demuxboth.qza
–verbose

qiime demux summarize
–i-data demuxboth.qza
–o-visualization demuxboth.qzv

the error:
(1/1) Invalid value for “–i-data”: Expected an artifact of at least type
SampleData[SequencesWithQuality | PairedEndSequencesWithQuality |
JoinedSequencesWithQuality]. An artifact of type
MultiplexedPairedEndBarcodeInSequence was provided.

I had a same problem in the dada2 step:
(1/1) Invalid value for “–i-demultiplexed-seqs”: Expected an artifact of at
least type SampleData[PairedEndSequencesWithQuality]. An artifact of type
MultiplexedPairedEndBarcodeInSequence was provided.

I have a same problem with single-end. I imported and demuxed it successfully, but for visualization I failed:
(1/1) Invalid value for “–i-data”: Expected an artifact of at least type
SampleData[SequencesWithQuality | PairedEndSequencesWithQuality |
JoinedSequencesWithQuality]. An artifact of type
MultiplexedSingleEndBarcodeInSequence was provided.

I am using the qiime2-7 version, I also checked the previous version. It is the same.
anybody help!
How to fix it?

Hey @TurboQiimer,

I have a suspicion as to what went wrong here. In your original command, you have two outputs going to the same location:

So even though demuxboth.qza would in principle be the right input for those later commands, because --o-untrimed-sequences is also writing to it, it gets overwritten with the wrong qza. If you use two different filenames for the output, I suspect things will start working like you expect.

Hopefully that’s the situation!

2 Likes

Thanks a lot sir! It was the case.

1 Like

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