Coder Social home page Coder Social logo

Comments (5)

Phlya avatar Phlya commented on September 2, 2024 1

What is the exact error you get for the header? parse takes the bwa mem output, nothing we can do about that...

128 Gb is a lot, is it possible your duplication rate is super high? Regardless, one of the options above should help with that.

from pairtools.

Phlya avatar Phlya commented on September 2, 2024

Can you clarify at what stage do you have to run pairtools generate header?

How much memory do you have available that you are getting the out of memory error? To avoid any out of memory errors, you can use the old backend for dedup, using --backend cython in the dedup command. Or, instead, you can reduce the chunksize, e.g. --chunksize 10000.

from pairtools.

gdaviduu avatar gdaviduu commented on September 2, 2024

Thanks for the quick reply!
An error cropped up at pairtools parse requiring me to run pairtools generate header, but I instead downgraded to the old version of pairtools v.1.0.1. and pinned the older version of numpy. This seems to have circumvented the error.

If I use a full normal node, I get 128 Gb of RAM.

from pairtools.

liphardt avatar liphardt commented on September 2, 2024

I encountered the same error during the dedup stage. The error comes from stats.py where np.int is deprecated and just int should be used when declaring the type. The error:

AttributeError: module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.

I also had the header error but it was a result of the dedup stage failing so the output of that, the input for the next step, was empty.

Hope this helps.

from pairtools.

Phlya avatar Phlya commented on September 2, 2024

From what I can tell, all instances of np.int have been eliminated from the master branch. In the next release this error won't appear.

Assuming the other problems are resolved, I'll close this issue, feel free to reopen!

from pairtools.

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.