Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: add qzv taxonomy bar-plot results without "Unassigned" #46

Open
splaisan opened this issue Feb 16, 2024 · 0 comments
Open

FR: add qzv taxonomy bar-plot results without "Unassigned" #46

splaisan opened this issue Feb 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@splaisan
Copy link

splaisan commented Feb 16, 2024

Dear,

I found it quite difficult to generate this myself because the inputs are located outside of the "results" folder in different places and difficult to locate for a non Qiime2 expert.

This also mean they are not transferred to the final user if, like we do, only the "result" folder is provided.
I realise that the info is present in the BIOM objects and could be worked with in phyloseq but it is easier for me to directly use original Qiime commands and objects to operate extra filtering).

Would it be possible to add (can be optional!) the generation of the extra taxonomy-filtered .qzv barplot results to the final result folder without "Unassigned"? These tend to be numerous in certain samples and affect the visual by compressing the assigned taxa bars.

Thanks

in the meanwhile, can you please confirm that what I did below is correct.

cd pb-16s-nf
cd results

metadata=../run_53_metadata.tsv

# vsearch version
taxonomy="taxonomy.vsearch.qza"
taxpfx="vsearch"

# alt: naive bayes version
# taxonomy="best_tax.qza"
# taxpfx="nb"

# filter the final DADA2 table
qiime taxa filter-table \
  --i-table ../dada2/dada2-ccs_table_filtered.qza \
  --i-taxonomy ${taxonomy} \
  --p-exclude Unassigned \
  --o-filtered-table ../dada2/dada2-ccs_table_filtered_assigned.qza

# create new barplot
qiime taxa barplot \
  --i-table ../dada2/dada2-ccs_table_filtered_assigned.qza \
  --i-taxonomy ${taxonomy} \
  --m-metadata-file ${metadata} \
  --o-visualization taxonomy_barplot_${taxpfx}_assigned.qzv
@proteinosome proteinosome self-assigned this Apr 25, 2024
@proteinosome proteinosome added the enhancement New feature or request label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants