bokulich-lab / q2-assembly

QIIME 2 plugin for (meta)genome assembly.
BSD 3-Clause "New" or "Revised" License
4 stars 12 forks source link

ENH: add action to rename contigs #83

Closed misialq closed 4 months ago

misialq commented 6 months ago

Is your feature request related to a problem? Please describe. It could be related to a potential problem arising after implementing #82. For backward-incompatibility reasons, users who already assembled contigs would need a way to rename those to follow the convention which will be introduced by the other issue.

Describe the solution you'd like We need an action (rename-contigs) which would simply take a SampleData[Contigs] artifact, rename contigs and return a new SampleData[Contigs] artfifact - that way one could "easily" rename everything. This action should also take a parameter to specify the function used for renaming, as it was done in https://github.com/bokulich-lab/q2-assembly/issues/82.

Describe alternatives you've considered The only alternative would be to export the pre-assembled data, rename "manually" and re-import - this would break the provenance though.