Hello qiime2 community,
I was trying to assemble class weight for my samples. My sequences are v3-v4 sequences and qiita didn't seem much help there. So I followed this
I am moving your post into the Community Plugin Support category, since you are working with q2-clawback (which is not one of the QIIME 2 core plugins). Someone in there should hopefully have thoughts or suggestions on how to address this issue!
Thanks for your question and I'm sorry for the slow response.
The issue is that the feature table has to have ASVs as its feature ids if you want to use sequence-variants-from-samples. However, if you have a fasta file that lists the sequences for your feature ids, you don't need sequence-variants-from-samples, because that's what sequence-variants-from-samples is trying to generate.
If you have such a fasta file, you can import it into an artifact and use it in place of sv.qza where it appears in that tutorial.
Please let us know if that doesn't make sense or work.
No worries! For technical reasons, taxa that were observed not-at-all in your sequences get almost zero weights. I suspect that when you're looking at your biom you're seeing that many of them have almost zero weights, which is not unusual.
If you look through all of the taxa, are they all exactly 5E-11?
In order to cross-check, I went to the github code, where I find the unobserved_weight: float = 1e-6 for the function generate_class_weights. Therefore, I become unsure if there has been an error.