I'm new to qiime2. I'm dealing with MiSeq data sets which are demultiplexed paired-end sequences.
I'm able to import the data into qiime2 using Casava 1.8 format for demultiplexed paired-end data. However, when I tried to denoise the data and generate feature table using dada2 plugin, I got the following error:
Error: no such option: --p-trim-left (Possible options: --p-trim-left-f, --p-trim-left-r)
(qiime2-2017.12) DEN-GADAMI-D2:qiime2-MiSeq212-paired-end gadami$ qiime dada2 denoise-paired \
Hi @Yalu_Zhou! It looks like your command may be using an em dash character (–) instead of two hyphen characters (--). Can you try reformatting your command to use hyphens?
Another idea if that doesn’t work: it looks like you were using --p-trim-left, which is a valid option for qiime dada2 denoise-single, but is not an available option when using qiime dada2 denoise-paired (use --p-trim-left-f and --p-trim-left-r for paired-end data).
Thanks for your reply. I changed the commands according to your suggestion, the dada2 started to run. However, I got another error after 30 mins of running (I have 12 samples with forward and reverse seuqnces). The error message is as following:
Plugin error from dada2:
An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.
Debug info has been saved to /var/folders/tk/v1n7ybxs10g90pllfpz7t1hr0000gp/T/qiime2-q2cli-err-b0_pi4of.log
Do you have any idea of how to fix this?
Thanks a lot.
Thanks for the reply. I ran the command you suggest and got something as following:
Running external command line application(s). This may print messages to stdout$
The command(s) being run are below. These commands cannot be manually re-run as$
Thanks for the debug log @Yalu_Zhou! This is the important part of the error message:
Error in isBimeraDenovoTable(unqs[[i]], …, verbose = verbose) :
Input must be a valid sequence table.
This error occurs if none of the forward and reverse reads can be joined during the denoising process. You’ll need to check that your forward and reverse reads overlap enough to be joined after applying the read trimming specified with --p-trim-left-f, --p-trim-left-r, --p-trunc-len-f, and --p-trunc-len-r. After trimming, the reads must overlap by at least 20 nucleotides plus the biological length variation of overlap (see @benjjneb’s posts here, here, and here for details).
Additionally, you’ll need to ensure that all sequencing artifacts (e.g. primers, barcodes, adapters) have been removed from your reads prior to denoising. If the primers are contained at the start of your forward reads, you can alternatively use --p-trim-left-f to have DADA2 trim off the forward read primers during denoising.
The quality score plots generated by qiime demux summarize can be helpful with choosing appropriate trimming parameters based on your sequence data. Hope this helps!