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

Expose branch length function on CLI for EMDUnifrac #33

Closed
dkoslicki opened this issue May 20, 2020 · 3 comments
Closed

Expose branch length function on CLI for EMDUnifrac #33

dkoslicki opened this issue May 20, 2020 · 3 comments
Assignees

Comments

@dkoslicki
Copy link
Member

Currently the branch length function is hard coded here. Want to expose this as an option on the command line.

@dkoslicki dkoslicki self-assigned this May 20, 2020
dkoslicki added a commit that referenced this issue Jun 24, 2020
change log:
- exposed branch_length_function to Profile (defaults to 1/(depth in tree)
- added ability to not normalize the unifrac input vectors
- added better test data (that includes incorrectly formatted profiles)
- added test cases
@dkoslicki
Copy link
Member Author

Can close after merge to master pending coordination with @fernandomeyer after Friday meeting.
Will need to see if we should make this a CLI option for opal.py itself

@fernandomeyer
Copy link
Contributor

Branch length CLI option added with commit e9d555e.

@dkoslicki
Copy link
Member Author

Great! Looks to be working well: closing

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

No branches or pull requests

2 participants