-
Notifications
You must be signed in to change notification settings - Fork 1
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
Additional gems, modifying scripts, and installing third party tools required #1
Comments
Dear Sandra, So grateful to you for your interest in this tool, your careful check, and detailed suggestions!!! Certainly a pr would be very helpful to improve the tool. Your suggestions make much sense and I'd be more than happy if u can pr. I'll also take a look and test my old code on a diff server after eastern. the reason is likely b/c other relevant tools/packages have been made ready so that members from my previous lab (haiwei luo lab) didn't see any problems run it. i did not continue working on this and relevant projects on my new dept's server so didn't find any problem either (but i am actually thinking of a diff way to improve hessian estimation). My sincere apologies for any inconvenience. Should there be any questions/suggestions pls don't hesitate to let me know. Again, thanks much for your help! some thoughts:
perhaps due to diff versions of ruby. I should have indicated this but the way u solved it seems quite good. thx for pointing this out. I heard some had issues installing nw. perhaps because I used it so often that I didn't think it is an issue. best, |
Update scripts and README.md file to deal with Issue #1
Dear Sandra, Thanks so much for your contribution and testing the initial version of the tool! Also my apologizes for any inconvenience in using v1.0. I have uploaded a newer version on top of your modifications. some updates are
should there be any suggestions/questions, pls feel free to let me know. thank you! best, |
Dear Sishuo, Thanks for going through all the suggestions so carefully, this is fantastic! Checking whether all Ruby dependencies are installed and automatically detecting which Regarding the issues with matrices, you are correct! We had problems with matrices built with GMM data because they normally have more characters than specimens (i.e., more columns than rows), which normally results in singular matrices that cannot be inverted. Following (Schäfer and Strimmer 2005), we decided to obtain a shrinkage estimate of the correlation matrix that could be inverted -- see function Lastly, thanks ever so much for the acknowledgements, really appreciate it! While I made all the suggestions to clarify the content in the original Thanks for spending time to address this GitHub issue with your latest implementations, looking forward to learning about your new way to improve Hessian estimation! All the best, |
Many thanks sandra! I have added an acknowledgment section for Edmund and you in As to the "Ruby dependencies" issue, I have added the following at the very beginning of "create_hessian_by_bootstrapping.rb". Also thanks for your interpretation on the shrinkage method! I will certainly delve deeper into your paper to get more details. btw, will you attend evol2024 or smbe2024? perhaps we can exchange some insights further. |
That looks great, Sishuo, thanks ever so much!! I am going to Evolution, so we can catch up this August -- I shall send you an email later. We can now leave this issue closed and, if I find anything else, I shall open a new one. Have a good start of the week! |
Hi Sandra, I actually will go to smbe2024 and evol2024 virtual. will present in education session link in both. just got acc lett from both. what a pity but i believe there are many opportunities later. Yes, any Qs or suggestions, pls don't hesitate to let me know. Thanks so much for your help! |
Hi Sishuo,
First and foremost, this looks like a very promising tool, congratulations!
We (@sabifo4 and @ERRMoody) have tried your
bs_inBV
tool but had to make some changes to your scripts, install additional gems, and other third party tools before we could make it work. I list below those changes but, if it is easier, let me know if you want me to suggest a pull request!parallel
andcolorize
, but also all the ruby gems that are required in the ruby scripts available as part of this tool:require_relative
would not work. Consequently, we could not successfully load the functions written in the scripts available within thelib
directory. To that end, we had to include$LOAD_PATH << './lib'
as current line 12 in scriptcreate_hessian_by_bootstrapping.rb
and replaced commandsrequire_relative
withrequire
to load the ruby scripts in thelib
directory:Dir.rb
,processbar.rb
, anddo_mcmctree.rb
(i.e., current lines 14-16). We also had to include extensionrb
when calling these scripts.newick-utils
from the source code. Therefore, we searched for pre-compiled binaries and found them on this website. Specifically, we downloaded and installed Newick Utilities v1.6.CRAN
to get it installed. CommandRscript
is also required. PackageMASS
, which is used by scriptreorder_node.rb
, is also required.do_mcmctree.rb
. If users have an alias forMCMCtree
, they will have to change line 43 accordingly. If users have not exportedIQ-TREE
to their PATH or have an alias different from the one specified in line 26 in scriptcreate_hessian_by_bootstrapping.rb
, they will need to change that too. The same applies to lines 27-28 fornewick-utils
programs and line 29 forMCMCtree
in that same script. Perhaps you could modify the scripts so that these paths were automatically found or add an argument for users to pass their own paths :)Hope these suggestions help to make this tool a bit more portable!
Sandy
The text was updated successfully, but these errors were encountered: