Code Monkey home page Code Monkey logo

Comments (3)

moold avatar moold commented on May 26, 2024
  1. The max memory required by NextPolish is depending on the value of -p, each sub-process required 2-5Gb RAM depending on the mapped data depth. So 64 Gb of Ram is enough if you remove -a options, which will automatically adjust -p.
  2. Some of sub-processes are crashed (usually caused by insufficient memory), which blocked the main process. This is a bug of multiprocess module in python. so you should kill the main task, and just rerun the main task. It it will skip corrected seqs and continue running.
  3. It is better to update NexPolish to the latest version and try again. The polishing step is very fast, it should be finished in few minutes depending on your genome size and -p.

from nextpolish.

Lcornet avatar Lcornet commented on May 26, 2024

Indeed, delete the -p -a option make it work again. I relaunch the the command and it works.

My corrected file, pb.asm.nextpolish1.fa, has multiple time the same deflines .

grep scaffold_300 pb.asm.nextpolish1.fa

scaffold_300_pilon_pilon_subseq_1:49068_obj 49236
scaffold_300_pilon_pilon_subseq_1:49068_obj 49236
scaffold_300_pilon_pilon_subseq_1:49068_obj 49236

Is it because I run the pipeline multiple times, can I just keep one of the sequences ?

Thanks,
Luc

from nextpolish.

moold avatar moold commented on May 26, 2024

In theory, NextPolish will skip polished contigs, so it should not have duplicate IDs, I need more time to debug it. By now, it is more safer to remove pb.asm.nextpolish1.fa and rerun this step, it should be finished in 10 -30 minutes if mapped depth < 100.

from nextpolish.

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.