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: New action to annotate FeatureData[MAG] or GenomeData[Proteins] with optional GenomeData[Loci] #90

Conversation

VinzentRisch
Copy link
Collaborator

@VinzentRisch VinzentRisch commented Jul 9, 2024

solves #89

  • Adds new action that can annotate FeatureData[MAG] or GenomeData[Proteins] with optional GenomeData[Loci].
  • MAGs can be predicted with the moshpit action predict-genes-prodigal and then a combined analysis can be run with annotate-feature-data-amrfinderplus
  • refactoriong in pluginsetup

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/90/head:pr-90
git checkout pr-90
pip install -e .
  1. Download test files
    PR-90.zip

  2. Test it out!

qiime amr fetch-amrfinderplus-db --o-amrfinderplus-db amrfinderplus-db.qza --verbose
qiime amr annotate-feature-data-amrfinderplus --i-amrfinderplus-db amrfinderplus-db.qza --i-mags feature_data_mags.qza --i-proteins proteins.qza --i-loci loci.qza --p-organism "Escherichia" --p-plus --p-curated-ident --output-dir output_combined --verbose
qiime amr annotate-feature-data-amrfinderplus --i-amrfinderplus-db amrfinderplus-db.qza --i-mags feature_data_mags.qza --p-organism "Escherichia" --p-plus --p-curated-ident --output-dir output_mags --verbose
qiime amr annotate-feature-data-amrfinderplus --i-amrfinderplus-db amrfinderplus-db.qza --i-proteins proteins.qza --p-organism "Escherichia" --p-plus --p-curated-ident --output-dir output_proteins --verbose

@VinzentRisch VinzentRisch marked this pull request as ready for review July 17, 2024 11:42
@VinzentRisch VinzentRisch changed the title ENH: New action to annotate FeatureData[Sequences] and FeatureData[ProteinSequences] ENH: New action to annotate FeatureData[MAG] or GenomeData[Proteins] with optional GenomeData[Loci] Jul 25, 2024
@VinzentRisch VinzentRisch requested review from a team and ChristosMatzoros and removed request for a team July 25, 2024 08:42
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