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

ENH: Adds transformer for AMRFinderPlusAnnotationsDirFmt to qiime2.Metadata #102

Conversation

VinzentRisch
Copy link
Collaborator

@VinzentRisch VinzentRisch commented Jul 26, 2024

solves #99

  • Adds new transformer from AMRFinderPlusAnnotationsDirFmt to qiime2.Metadata.
  • Now all output files by amrfinderplus actions can be used with metadata tabulate

Set up an environment

https://github.com/bokulich-lab/q2-amr?tab=readme-ov-file#installation

Run it locally

  1. First, clone the repo and checkout the PR branch:
git clone https://github.com/bokulich-lab/q2-amr.git
cd q2-amr
git fetch origin pull/102/head:pr-102
git checkout pr-102
pip install -e .
  1. Download test files
    PR-102.zip

  2. Test it out!

qiime metadata tabulate --m-input-file amr_all_mutations_contigs.qza --o-visualization amr_all_mutations_contigs.qzv
qiime metadata tabulate --m-input-file amr_all_mutations_feature.qza --o-visualization amr_all_mutations_feature.qzv
qiime metadata tabulate --m-input-file amr_all_mutations_sample_mags.qza --o-visualization amr_all_mutations_sample_mags.qzv
qiime metadata tabulate --m-input-file amr_annotations_contigs.qza --o-visualization amr_annotations_contigs.qzv
qiime metadata tabulate --m-input-file amr_annotations_feature.qza --o-visualization amr_annotations_feature.qzv
qiime metadata tabulate --m-input-file amr_annotations_sample_mags.qza --o-visualization amr_annotations_sample_mags.qzv
  1. open them with
qiime tools view amr_annotations_sample_mags.qzv

@VinzentRisch VinzentRisch marked this pull request as ready for review July 26, 2024 13:01
@VinzentRisch VinzentRisch requested review from a team and misialq and removed request for a team July 26, 2024 13:01
@VinzentRisch VinzentRisch changed the title ENH: Adds transformer from AMRFinderPlusAnnotationsDirFmt to qiime2.Metadata ENH: Adds transformer for AMRFinderPlusAnnotationsDirFmt to qiime2.Metadata Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant