Git Product home page Git Product logo

Comments (6)

yangymargaret avatar yangymargaret commented on June 13, 2024 1

Hi Kathleen @keoughkath,
Thank you very much for your interest in Phylo-HMRF, and thank you very much for helping identify the problems in the code. I am sorry that these errors were due to the discrepancies between the updated version of utility.py and the tested version. I do apologize for the errors. I have updated utility.py accordingly. Please let me know if you have any other questions. Many thanks!

Best regards!
Yang Yang

from phylo-hmrf.

keoughkath avatar keoughkath commented on June 13, 2024

Uncommenting line 369 fixed that issue, but then I got this error:

File "/pollard/home/kathleen/projects/harjacking/src/phyloHMRF/Phylo-HMRF/utility.py", line 1526, in write_matrix_image_Ctrl_unsym1 print "species %d: %d %.4f"%(i,len(b)) TypeError: not enough arguments for format string

Which I fixed by commenting out line 1526. After that it seemed to work.

from phylo-hmrf.

keoughkath avatar keoughkath commented on June 13, 2024

Thanks for your answers to my questions! Related to running phylo-HMRF on the example data, how much time does this take when you run it? It takes quite a while on my system and I want to make sure there isn't something going wrong that could be causing a long runtime.

from phylo-hmrf.

yangymargaret avatar yangymargaret commented on June 13, 2024

Hi Kathleen @keoughkath,
I do apologize for my late reply. It took me about 20-30 minutes to run the code the example data. The program performs random initialization of parameters. It will restart parameter initialization if it did not find solutions from one initialization. Then it may take longer time. The example data are relatively of small size. It also takes longer time to run the code on the genome-wide real data (for example, about 1-1.5 days). The code runs in a parallel way across multiple chromosomes. Then the time to use usually depends on the sample size on the larger chromosomes. If the code does not stop after a long time, you could try stopping it manually and restart again, since it is possible that that it didn't find solutions after multiple initializations. Please let me know if you have any other questions. Many thanks!

Best regards!
Yang Yang

from phylo-hmrf.

keoughkath avatar keoughkath commented on June 13, 2024

Thanks Yang! I will follow those suggestions and let you know if any more questions pop up.

Thanks!
Kathleen

from phylo-hmrf.

yangymargaret avatar yangymargaret commented on June 13, 2024

Hi Kathleen @keoughkath,
You're welcome. Please let me know if you have any other questions. Many thanks!

Best regards!
Yang Yang

from phylo-hmrf.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.