-
Notifications
You must be signed in to change notification settings - Fork 8
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
Response to issue 34 #35
base: master
Are you sure you want to change the base?
Conversation
@LTibbs Thanks for the PR. I appreciate the work you have put into this. I've been a bit under the rocks lately, but I'll look over your commits soon. I do have an old function for making prokaryotic trees: uniprot_sample_prokaryotes(remake=TRUE). Running that will create a new tree that is in harmony with they latest Uniprot annotation. This should avoid all the warnings you observed. I'll be back in touch soon. |
@LTibbs I've updated the phylostratr functions |
@arendsee Thanks for pointing out the option to have Still, I do think there is value in having the more general tree building function available for those who want to customize their prokaryote tree further, in both weights and size. I plan to use custom weights myself, so I think this branch and Depending on how things go, I could even combine the two approaches by adding an option for weights to the |
@arendsee, I just finished code to add weights to the In addition, as I was working with phylostratr more, I found what was (to me) an unexpected result: even if I set weights for a given taxon to 0 or a negative number (i.e., intending to exclude it due to low quality proteome) it could still potentially be included in the final tree, depending on its position in the tree. So, I added a |
Hi @LTibbs, your work here is awesome and super-appreciated; we'll get everything merged. But could we kick this down the road two weeks? I'm in serious crunch time at the moment working on a paper re-submission. Once that's done, I can allocate the time to re-familiarize myself with the |
Of course! Hope your paper submission goes well. I really appreciate the work you did making this package, I'm just making these tweaks to help in my own use of the package and hope they can be useful for others! |
I had some issues with the prokaryote trees, as described in Issue 34 (#34). So, I made the following updates to address that:
uniprot_strata()
to work with from=1 (starting from cellular organisms).generate_prokaryote_tree
to build new prokaryotic tree from UniProt with customizable species numbers and weights.use_custom_prokaryote_tree
to add the custom tree to the analysis, analogous touse_recommended_prokaryotes
.