Hello,
Is there some sort of command that I can use to exclude certain samples from my taxa bar plot?
Thanks,
Lisa
Hello,
Is there some sort of command that I can use to exclude certain samples from my taxa bar plot?
Thanks,
Lisa
Hello @Lisa_Crummett,
Yes, see the index- and metadata-based filtering modes for feature-table filter-samples
. This will need to be performed prior to generate the bar plot.
I hope that helps!
Thanks Nicholas. I tried the following command for including multiple samples while excluding others…
qiime feature-table filter-samples
–i-table table.qza
–m-metadata-file sample-metadata3.txt
–p-where “Replicate IN (‘1’,’2’,’3’,’4’,’5’,’6’)”
–o-filtered-table mesocosm-filtered-table.qza
I got 2 error messages and not sure what the problem is?:
-bash: syntax error near unexpected token `(’
-bash: --o-filtered-table: command not found
Hi @Lisa_Crummett,
Thank you for following up. The errors that you are providing seem to indicate that you have accidentally included a line-break somewhere in your command. Could you please:
“Replicate IN (‘1’,’2’,’3’,’4’,’5’,’6’)”
. Please double-check that section and try typing out all characters again (instead of copying/pasting): it may just be how these characters are displaying on the forum page but it looks like there are single-quote characters being displayed as special characters. That may be causing this issue. Unless if you are trying to exclude decimal values, you could also try something like “Replicate<=6”
to accomplish the same filtering task.I hope that helps! Good luck!
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.