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

CLI to calculate parsimony scores #93

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

willdumm
Copy link
Contributor

@willdumm willdumm commented May 16, 2022

So far, this PR only a script scripts/parsimony.py providing functions and a cli for calculating parsimony scores of trees, given a newick(s) and fasta. Also has an option to combine trees into a history DAG.

More features to come, including refactoring disambiguation code to make computing parsimony score more efficient (only one pass is needed to do so, but disambiguation requires two traversals and many more steps), and to allow disambiguations to yield minimally ambiguous characters at internal nodes.

Also, everything else mentioned in issue matsengrp/historydag#17

@willdumm willdumm changed the title Wd disambiguation script CLI to calculate parsimony scores May 17, 2022
@willdumm willdumm marked this pull request as ready for review May 17, 2022 18: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.

1 participant