(topic deleted by author)
Hello,
I have realized that the FeatureData[LinkedSeqeunce] issue has been resolved for several plugins in q2-2026.10 release. Thank you!
There is one additional plugin option, that I found incompatible with this new type:
qiime quality-control decontam-score-viz --i-rep-seqs seems to be affected, also this input is optional (no error when omitting --i-re-seqs)
Invalid value for '--i-rep-seqs': Expected an artifact of at least type
FeatureData[Sequence]. An artifact of type FeatureData[LinkedSequence] was
provided.
Best
Hi @arwqiime ,
Thanks for giving the new FeatureData[LinkedSequence] type a spin!
I have opened an issue to add this as an acceptable type to decontam-score-viz. You can follow this issue to track status of this feature request:
Thank you for forwarding this to the developers.
I do have another question related to the linked sequences: from the first data analyzed so far (515F-907R primers), I do have the impression that the just-concatenated sequences to not receive the full dada2 denoising and dereplication steps as merged ASVs. Rather it seems that they are 'just concatenated', but are summarized in the table.qza under the same md5 hash if the raw sequences are identical (that is how the md5 hash works, right?).
Best regards,
Hi @arwqiime ,
The --p-retain-unmerged parameter does not concatenate. It attempts to merge reads as usual, and then joins any pairs that fail to merge with a space in between.
So if you see many of the same ASVs with/without this parameter, this is the expected behavior. In many/most cases you should have many reads that will merge and hence will form the same ASV as usual. But with this parameter set to True you should also see new ASVs, belonging to the reads that failed to merge and are retained with this parameter.
No the md5 hash is generated from the ASV sequence, not from the raw sequence.
thank you for the comment.
I do get about 3,400 ASVs from the default dada2 denoise-paired run. With --retain-unmerged, dada2 returned almost the same number of ASVs, but an additional ca. 10,000 features with a single space, separating the R1 and R2(reverse) reads.
The table summary tells me also:
dada2 default: 3,474 features, total observation: 1,206,212 reads
dada2 --p-retain-merged: 15,436 features (including most of the 3,474 ASVs from above): total observation: 1,291,051 reads.
So, the ca. 11,000 additional features correspond to roughly 85,000 reads that could not be merged. I assumed that this large number of just-concatenated sequences ASVs (with space) represent only a small fraction of raw sequences that were not merged but just concatenated using the raw sequences.
So, I am wondering whether the feature abundances of merged ASVs and just-concatenated ASVs in the feature table do have the same dada2 processing background. I am just thinking about implications to downstream analysis steps such as alpha and beta diversity analyses.
Thank you for your comments.
Hi @arwqiime ,
The unmerged reads are still indeed denoised, it is the same dada2 procedure as for the merged reads, the reads that fail to merge are simply "rescued" at the end and concatenated with a space. These are still dereplicated, unique ASVs.
Could you please share the QZVs of your dada2 stats?
Yes, of course. Here is the denoising_stats.qzv:
denoising_stats.qzv (369.4 KB)
Hi @arwqiime ,
Thanks for sharing this.
From your dada2 parameters I see one possible explanation: you are using q-score-based trimming instead of trimming at a fixed length. So this means that your input reads will be trimmed at different positions prior to denoising. Aside from the impact this can have on the denoising model, this will also mean that truncated reads will fail to merge and will be concatenated at different positions. This will indeed inflate your diversity estimates as otherwise identical reads truncated at different positions will yield unique ASVs — normally, these paired reads will fail to merge and be thrown out so will not cause problems downstream, but in this case these read pairs are rescued. Many of these will also be discarded as singletons (and abundance-based filtering could deal with the rest, as these should be rare variants, but re-running this step is probably a safer approach)
I recommend using positional trimming instead of q-score-based trimming when using the --p-retain-unmerged parameter. Could you please give that a try and let me know if it solves your issue? (i.e., yields ASV counts closer to your expected range?)
I have started a new dada2 run with these parameters set:
--p-trunc-len-f 281
--p-trunc-len-r 276
The numbers were taken from the demultiplexed sequence length summary of cutadapt-processed reads with q2 demux summarize visualization and correspond to the 2% length summaries (I used 282-1 and 277-1 since I was not sure whether the last base would be included or excluded in the truncation filter).
The outcome is very comparable to the previous dada2 run (see denoising_stats.qzv).
- ASVs w/o space: 3235
- ASVs w/ space: 12514
Again, the number of ASVs w/o space is very comparable to the numbers obtained with previous dada2 runs with and without the --p-retain-unmerged option.
I think I will have to look more deeper into the retained ASVs and look at the taxonomic classifications (if they indeed are classified with taxa of known longer 515F-907R fragments.).
And I will take care about the resulting diversity metrics.
Thank you for you comments.
Best regards,
denoising_stats.qzv (370.2 KB)
Hi @arwqiime ,
Thanks for following up. So much for that theory
I have opened an issue to mention this in the documentation anyway, since it seems like an edge case that others might run into if relying on trunc_q for trimming.
Please let me know what you find. At this point I am not sure what to think, so if you have any more insights from your data please share. Is there anything unusual about your samples, library prep or other upstream processing steps?
I checked this with some of my own datasets (soil and plant-associated) and do not see alpha diversity inflation, ASV counts are within expected ranges and comparable to standard paired-end merging. So for now we will keep an eye on this, and please report back what you find. The --p-retain-unmerged option was recently exposed so we greatly appreciate your feedback on how this impacts performance. ![]()