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

pathogen-cluster: Export table of mutations per cluster #20

Open
huddlej opened this issue Apr 11, 2024 · 0 comments
Open

pathogen-cluster: Export table of mutations per cluster #20

huddlej opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@huddlej
Copy link
Contributor

huddlej commented Apr 11, 2024

For the cartography paper, we generated a table of mutations per cluster to get a sense of what distinguishes clusters from each other and whether those cluster differences could be biologically meaningful. We implemented this logic in a standalone script, but it seems natural to want this information as an optional output of the pathogen-cluster command. This way users could interrogate their clusters in detail and use the mutations table to refine the cluster thresholds and other parameters for their pathogens.

I can imagine adding this support to pathogen-cluster as a subsection of optional arguments that mostly copy from the cluster mutations script linked above. The arguments we'd want to keep would be:

  • --reference-sequence
  • --alignment
  • --ignored-clusters
  • --valid-characters
  • --min-allele-count
  • --min-allele-frequency

Then we would add an output argument like --output-mutation-table for the mutation table.

I think we could copy most of the original script's code into the pathogen-cluster logic except for the bits where we load cluster labels from different metadata input files.

@huddlej huddlej added the enhancement New feature or request label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant