GithubHelp home page GithubHelp logo

Cannot cut into N chunks about tomahawk HOT 3 CLOSED

mklarqvist avatar mklarqvist commented on August 15, 2024
Cannot cut into N chunks

from tomahawk.

Comments (3)

mklarqvist avatar mklarqvist commented on August 15, 2024

Sorry for the confusion @slowkow . The partition has to be in the set N choose 2.
I will fix this limitation in the upcoming release

from tomahawk.

slowkow avatar slowkow commented on August 15, 2024

Thank you!

I don't think this is a limitation, but it would be nice to add to the documentation so users can split work into jobs small enough for their computing environments.

Running on the Broad servers with the Sun Grid Engine job scheduler, I needed to split into 40186 jobs to get the jobs queued up quickly. Each job takes about 40 minutes or so, and most often less than 1G memory.

I brute forced my way to two numbers that work for me and split the work into a good number of jobs:

tomahawk calc -c 10012 <...>
tomahawk calc -c 40186 <...>

I guess I should be able to use R to find other numbers now (hooray!):

> choose(142, 2) + 1
10012

> choose(284, 2)
40186

I'm not sure why 10012 worked, because it should be 10011... maybe that was my mistake.

from tomahawk.

mklarqvist avatar mklarqvist commented on August 15, 2024

That's cool. Just keep an eye on the amount of output data you generate. I've calculated genome-wide LD for 1000GP, HRC, and HGDP and the compressed and sorted outputs are ~800 GB, ~100 GB, and ~300 GB, respectively. These data will be available together with the upcoming publication.

I will look into why 142!2 + 1 worked. That is unexpected.

from tomahawk.

Related Issues (16)

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.