Coder Social home page Coder Social logo

Comments (8)

sb43 avatar sb43 commented on August 18, 2024 3

Yes, @wikiselev shared his rnaseq implementation with me.

from methylseq.

sb43 avatar sb43 commented on August 18, 2024 1

Hi Phil,
Thanks for the quickfix, I have already tried the commit from your master branch and it worked fine.
We have now fully working methylseq pipeline implemented in openstack using WR in our group.
Thanks for your continuous support.
Cheers,
Shriram

from methylseq.

ewels avatar ewels commented on August 18, 2024 1

Fantastic! Thanks for letting us know.. And great that you guys are able to use this in production! 😄

I hadn't realised that you were also at the Sanger until now. Are you already in contact with @wikiselev and @micans? They're also running nf-core pipelines on your OpenStack / Kubernetes infrastructure..

from methylseq.

ewels avatar ewels commented on August 18, 2024

Hi @sb43,

Thanks for reporting this. I guess that it's not that samtools is being inefficient, but more that we're telling samtools to use exactly the amount of memory available, to the byte:

methylseq/main.nf

Lines 774 to 777 in 1d3f5cc

samtools sort $bam \\
-m ${task.memory.toBytes() / task.cpus} \\
-@ ${task.cpus} \\
-o ${bam.baseName}.sorted.bam

In most computational setups, the memory allocation is a little relaxed meaning that this isn't a problem, but we have seen similar problems in other pipelines. I guess that just reducing the requested amount a little should fix the problem. In fact, @apeltzer did exactly this in the rnaseq pipeline the other day: nf-core/rnaseq#158

Phil

from methylseq.

sb43 avatar sb43 commented on August 18, 2024

Hi @ewels,

Shall I create custom main.nf as suggested nf-core/rnaseq#158 , currently I am using methylseq v1.3 --with-docker using default main.nf.
OR
Have you planned a bugfix release anytime soon?

Thanks,
Shriram

from methylseq.

ewels avatar ewels commented on August 18, 2024

Ok, pull-request merged. You should now be able to run this now using nextflow run nf-core/methylseq -r dev (the -r dev will pull the development version of the code). It will then go out in the next stable release, which should be relatively soon I think.

I'll close this issue now, but let me know if you hit any problems and we can reopen. Would be great to hear how you get on too!

Cheers,

Phil

from methylseq.

micans avatar micans commented on August 18, 2024

from methylseq.

suhrig avatar suhrig commented on August 18, 2024

It seems this issue has returned. I am running into the same situation where samtools sort requests exactly as much memory as was reserved for the task (or a little more), resulting in the task being killed. If I'm interpreting things correctly, the changes added in PR #82 got lost when the NextFlow configuration was split into modules. See here: https://github.com/nf-core/methylseq/blob/81f989c93e866a9b0bd0d9584e077b9b8f78affe/modules/nf-core/samtools/sort/main.nf#L24C33-L24C33

from methylseq.

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.