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

Add pathogen-cluster-mutations command #36

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

huddlej
Copy link
Contributor

@huddlej huddlej commented Aug 21, 2024

Description

Adds a new top-level pathogen-cluster-mutations command that allows users to pass a reference sequence, an alignment, and a table of cluster assignments and get a table of mutations found in each cluster at some minimum count and frequency.

This is a direct port of the cluster_mutation.py script from the cartography project. It exists as its own separate command so users (including us) can find mutations for any predefined genetic groups including clusters, Nextstrain clades, MCCs, Pango lineages, etc.

Related issues

Closes #20

@huddlej huddlej changed the title Stub pathogen-cluster-mutations command Add pathogen-cluster-mutations command Aug 21, 2024
@huddlej huddlej marked this pull request as ready for review August 21, 2024 22:16
@huddlej huddlej force-pushed the add-pathogen-cluster-mutations-command branch from b188bda to 0538bb6 Compare August 21, 2024 22:18
Adds a new top-level pathogen-cluster-mutations command that allows
users to pass a reference sequence, an alignment, and a table of cluster
assignments and get a table of mutations found in each cluster at some
minimum count and frequency.

This is a direct port of the cluster_mutation.py script [1] from the
cartography project. It exists as its own separate command so
users (including us) can find mutations for any predefined genetic
groups including clusters, Nextstrain clades, MCCs, Pango lineages, etc.

Closes #20

[1] https://github.com/blab/cartography/blob/717deb1142e1a14f6b74c5a6e794e902dda4aa1c/notebooks/scripts/cluster_mutation.py
@huddlej huddlej force-pushed the add-pathogen-cluster-mutations-command branch from 53d8288 to cb64b44 Compare August 21, 2024 22:48
@huddlej huddlej merged commit 1809068 into main Aug 21, 2024
4 checks passed
@huddlej huddlej deleted the add-pathogen-cluster-mutations-command branch August 21, 2024 23:31
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.

Export table of mutations per cluster in a new command
1 participant