Skip to content

[New Feature Request] - Simplify ShigaPass/FastANI taxonomy reconciliation logic #223

Description

@weichisyu

Is your feature request related to a problem? Please describe.

The current ShigaPass/FastANI taxonomy reconciliation logic is split between the Nextflow CHECK_SHIGAPASS_TAXA process and check_taxa.py, making the workflow harder to follow and maintain.

In addition, ShigaPass reports Shigella species using abbreviated identifiers such as SS, SF, SB, and SD, while the FastANI taxonomy contains full species names. Therefore, the current Bash species comparison generally treats them as different and passes Shigella samples to check_taxa.py anyway.

Describe the solution you'd like

I propose moving the reconciliation logic into check_taxa.py so that Python becomes the single source of truth for updating the FastANI taxonomy based on the ShigaPass result.

When ShigaPass identifies Shigella, the Shigella species should be updated directly from the ShigaPass result.

Additional context

ShigaPass is only run for samples classified by FastANI as Escherichia or Shigella, so the reconciliation can be handled entirely within check_taxa.py.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions