Skip to content

Conversation

mikerobeson
Copy link
Collaborator

@mikerobeson mikerobeson commented Oct 7, 2025

Addresses #242.

Set deprecated=True for the following actions:

  • Actions that depend on either the q2-feature-classifier or q2-alignment plugins (Amplicon distro). As far as I can tell these actions are the only ones that depend on these plugins.
    • evaluate-cross-validate
    • evaluate-fit-classifier
    • trim-alignment
  • Metagenome (MOSHPIT distro) leaning plugins:
    • get-bv-brc-genome-features
    • get-bv-brc-genomes
    • get-bv-brc-metadata
    • get-ncbi-genomes

Eventually, these actions will either be migrated over to other QIIME 2 plugins, or migrated into relevant RESCRIPt variants for the various QIIME 2 distributions.

Copy link
Collaborator

@nbokulich nbokulich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mikerobeson ! I think we also discussed that get-ncbi-genomes should be split off into a separate plugin as well — @misialq @lizgehret is that right?

Also @lizgehret do you think it's enough to just add deprecated=True or do you think that we should use a custom warning message with these actions (as they will be moved to separate plugins in the future)?

@mikerobeson
Copy link
Collaborator Author

mikerobeson commented Oct 8, 2025

Hi @nbokulich, I do remember discussing moving get-ncbi-genomes too. PR has been updated.

@lizgehret
Copy link
Collaborator

Hey @nbokulich @mikerobeson I actually think it would be more clear if we add a migrated warning (instead of deprecated) as this may be confusing for folks.

deprecated is just an attr on the Action class:
https://github.com/qiime2/qiime2/blob/deba9d1b866ff6ea57056f5df76878cfef67721b/qiime2/sdk/action.py#L205

I think it should be pretty straightforward to add a similar attr for migrated. I'll aim to work on that next week; once that's finished we can get this PR updated with the new flag - I'm thinking it will look something like:

migrated=True
migrated_plugin=`q2-alignment`

And then the warning message will look something like:

This action has been migrated to q2-alignment.

@lizgehret lizgehret self-assigned this Oct 9, 2025
@github-project-automation github-project-automation bot moved this to Backlog in 2025.10 👻 Oct 9, 2025
@lizgehret lizgehret moved this from Backlog to In Development in 2025.10 👻 Oct 9, 2025
@mikerobeson
Copy link
Collaborator Author

Thanks @lizgehret! Should we have an option that will differentiate "migrated in this current release" and "plans to be migrated in a future release"? Also, a note on which QIIME 2 distribution? As we won't be moving anything this cycle, and we are also considering which distributions some actions or entire plugins make sense for certain distributions? I think we'd want something like these?:

  • This action will be migrated to q2-alignment of the amplicon distribution in a future release.
  • This action will be migrated from the RESCRIPt plugin of the amplicon distribution to the RESCRIPt plugin of the MOSPHIT distribution in a future release.

@lizgehret
Copy link
Collaborator

Oh yeah I like that! I'll play around with formatting and see if we can include the distro/release epoch; that would make things very clear for users.

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.

3 participants