Skip to content

Refactor analyze Command in cli.py for Better Modularity #5

Description

@YanCotta

Description:

The analyze command in dna_sequence_analysis_tool/cli.py contains a significant amount of logic for sequence analysis. This makes the CLI module tightly coupled with the core analysis logic and reduces the reusability of the code.

Suggested Fix:

Move the core analysis logic from the analyze command into a dedicated function within the DNAToolkit class or a new analysis workflow module.

The analyze command in cli.py should primarily be responsible for parsing command-line arguments and calling the new analysis function.

This will improve the separation of concerns, make the code easier to test, and allow the analysis workflow to be used programmatically as part of the library's API.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions