Giter Site home page Giter Site logo

Expected memory usage about hiphase HOT 3 CLOSED

mrvollger avatar mrvollger commented on May 25, 2024
Expected memory usage

from hiphase.

Comments (3)

holtjma avatar holtjma commented on May 25, 2024

We might not have it listed in the docs, I'll make a note to check for that in the future.

In terms of usage, I typically allocated 4GB per thread. For example, all of the benchmarking I have set up reserves 16 threads and 64GB memory. I also believe these resources requirements are the same in the human WGS workflow: https://github.com/PacificBiosciences/wdl-common/blob/fef058b879d04c15c3da2626b320afdd8ace6c2e/wdl/workflows/hiphase/hiphase.wdl#L118.

With that said, if you have an unusual sample, it's possible that you may need more memory. "Unusual" in this context usually means it has a much higher NG50 than we expect in a normal sample. Some examples where we've seen this issue pop up:

  1. Extremely high heterozygosity - I think we had a sample semi-recently had a much higher het/hom ratio than expected, leading to significantly longer phase blocks (NG50 was ~6MB in the end). IIRC, we had to bump the memory req. to get that sample through.
  2. Non-HiFi data - One example where someone was trying to run HiPhase with ONT datasets. Disregarding accuracy concerns, this will create larger putative phase blocks leading to higher peak memory usage per phase block.
  3. Usage error - For example, running global re-alignment without SVs will almost certainly be problematic.

Does the dataset you're using fall into one of the above categories? If not, is there anything else unusual about the dataset that you think could be influencing it? If the data is publicly available, or you're willing to share, I can also take a look to see if there's anything odd.

from hiphase.

mrvollger avatar mrvollger commented on May 25, 2024

This is very useful information, thanks! I don't think our data falls into one of those categories, but I also think we have been requesting a little less memory than that on average.

Unfortunately, it is protected data, so I cannot share, but if I run into it with open data I will be sure to share.

Please feel free to close, and I will come back if I can find some open data that gives me trouble.

from hiphase.

holtjma avatar holtjma commented on May 25, 2024

Sure thing! FWIW, there are a couple places we could likely tighten up memory, it just hasn't been a priority given the current state. If you're finding that memory consumption is burdensome, we could look into re-prioritizing that.

from hiphase.

Related Issues (20)

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.