clawback --metadata-value upper-/lowercase

Hello,
A recent summary of 'q2 clawback summarize_Qiita_metadata_category_and_contexts' of the empo_3 categories showed that there are two entries for 'animal proximal gut', differing in the uppercase and lowercase letters for 'Animal/animal'. (see qzv)

Will this influence the weights created by 'assemble-weights-from-Qiita'?
Is it possible to use more than one metadata-value in clawback?

Best regards
available_empo3.qzv (185.7 KB)

Hi @arwqiime ,

Check out the readytowear repo to see some usage examples. You can use multiple queries to capture both upper and lowercase (or better yet, different metadata values that you want to lump together, e.g., maybe you want to compile weights from all host-associated sample types?). See this example:

1 Like

Hi @Nicholas_Bokulich
Thank you for directing me to the reatytowear repo, I should have known to look there...

I get the following error with the command below:
"Can only support two comparisons"
I tried to combine the values in behind a single --p-metadata-value, spearated by commas, but it does not seem to be allowed here.

Any suggestion how to greate weights from animal gut samples?
Best,


qiime clawback assemble-weights-from-Qiita
--i-classifier silva-138.1-ssu-nr99-515f-806r-classifier.qza
--i-reference-sequences silva-138.1-ssu-nr99-seqs-515f-806r-derep-uniq.qza
--i-reference-taxonomy silva-138.1-ssu-nr99-tax-515f-806r-derep-uniq.qza
--p-metadata-key empo_3
--p-metadata-value 'Animal distal gut'
--p-metadata-value 'animal distal gut'
--p-metadata-value 'animal proximal gut'
--p-metadata-value 'Animal proximal gut'
--p-metadata-value 'Animal-distal-gut'
--p-context Deblur_2021.09-Illumina-18S-V4-150nt-ac8c0b
--o-class-weight silva-138.1-ssu-nr99-515f-806r-weight_Animal-gut.qza
--p-reads-per-batch 'auto'
--p-n-jobs 40

can you please share the full error message?

Yes, of course!
The zip file contains the error message for two commands with multiple --p-metadata-values and with comma-separated values.
clawback-errors.zip (1.5 KB)

Hi @arwqiime, thanks @Nicholas_Bokulich,

Please just use one metadata value of “Animal distal gut”. It will give you an order of magnitude more data than you need.

I will debug your usage over the next day or so (I think I see the problem but I can’t confirm right now), but even after I fix it I would just advise using “Animal distal gut” only.

1 Like

Hi @BenKaehler
Thank you for your advice!
Best,

Hi @BenKaehler ,
I realized a typo in my command shown above. The context should be '16S'...
Sorry, the last 6 digits were identical to the 18S one, and I overlooked this.

1 Like

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