Comments (10)
Hi, our tests show a typical minimap2-nd task usually consumes about 40g of memory, but you can use -I
parameter to reduce the max memory requirement. In addition, you can also adjust -t
in minimap2_options_raw
and minimap2_options_cns
to adapt the maximum sub-jobs running on each nodes simultaneously.
from nextdenovo.
hello again,
i tried with the modified options for minimap2_options_raw = -x ava-ont -t 32 -I 100 and minimap2_options_cns = -x ava-ont -t 32 -k17 -w17 but now the pipeline stops at 01.raw_align/02.raw_align.sh.work/raw_align000/ with a error description of "slurmstepd: error: *** JOB 1734386 ON comp054 CANCELLED AT 2020-02-08T21:42:13 DUE TO TIME LIMIT ***
"
Is it something I can modify in the script or just restart the job?
Also, is there an option where I can filter for reads above certain read lengths ?
Thanks in advance so much for your help
S
from nextdenovo.
It seems that your system limits the running time of a job, so you can reduce blockize
and increase seed_cutfiles
to reduce the size of each subfile and speed up the map task. But the total runing time maybe will longer.
from nextdenovo.
Thanks will try this now and update soon with the outcome
Regards,
S
from nextdenovo.
Hello again ,
I modified the script with reduced blocksize of 3g and increased the seed_cutfiles to 10 but it still stalls at [ERROR] 2020-02-21 06:48:13,170 /group/pasture/Saila/NextDenovo/01.raw_align/02.raw_align.sh.work/raw_align159/nextDenovo.sh.e
with an error description of slurmstepd: error: *** JOB 1809950 ON comp035 CANCELLED AT 2020-02-21T07:00:20 DUE TO TIME LIMIT ***
Not sure if i should reduce the blocksize still to smaller size ?
Can you please advice
Thanks
S
from nextdenovo.
Yes or contact your system administrator for help, your system limits the running time of a job.
from nextdenovo.
Dear Dr. Hu,
Thank you for your replies above. I have the same question, "out-of-memory". I tried to adjust the -t
in minimap2_options_raw
and minimap2_options_cns
as -t 8
, but it still failed to pass this error.
see run.cfg parameters:
"
[correct_option]
read_cutoff = 1k
genome_size = 3.23g # estimated genome size
sort_options = -m 20g -t 8
minimap2_options_raw = -t 8
pa_correction = 5
correction_options = -p 30
[assemble_option]
minimap2_options_cns = -t 8
nextgraph_options = -a 1
"
see error message:
minimap2-nd --step 1 --dual=yes -t 8 -x ava-pb /01.raw_align/input.seed.005.2bit /01.r aw_align/input.part.004.2bit -o input.seed.005.2bit.163.ovl slurmstepd-c03b06n04: error: Detected 1 oom-kill event(s) in step 593045.batch cgroup. Some of your processes may have been killed by the cgroup out-of-memory handler.
The slurm cluster I used has enough memory (q_fat, 72 cpus/1.5T memory/2 nodes), but the default normal queue has limited memory. The subtasks submitted by paralleltask
always use default normal queue even though I submit the main job to q_fat
Therefore, I tried to use submit
specify the queue for paralleltask
, for example submit = sbatch -q q_fat
, but it seems it was a wrong way to specify queue.
I also tried the way in [https://nextdenovo.readthedocs.io/en/latest/FAQ.html#how-to-optimize-parallel-computing-parameters].
Could you tell me how to specify the queue in a correct way or give some suggestion for this out-of-memory issue?
Thank you very much!
Regards,
LF
from nextdenovo.
Two solutions:
- use
submit = sbatch -q q_fat --cpus-per-task={cpu} --mem-per-cpu={mem} -o {out} -e {err} {script}
- set
job_type = local
and submit the main job toq_fat
from nextdenovo.
Thank you! I will update you once it is done.
from nextdenovo.
Thank you! This issue solved through job_type= slurm
and submit = sbatch -p q_fat --cpus-per-task=1 --mem-per-cpu=64g -o {out} -e {err} {script}
;D
from nextdenovo.
Related Issues (20)
- Samtools sort out-of-memory HOT 1
- Segmentation fault (core dumped) at 03.ctg_graph/01.ctg_graph.sh.work/ctg_graph0 HOT 1
- Can you run nextDenovo without a config file? HOT 1
- TypeError: unsupported operand type(s) HOT 2
- long time for assemling genome HOT 6
- Can I assemble a gap free genome using only regular ONT data? HOT 1
- telomeres getting lost HOT 6
- [4501 ERROR] 2023-06-13 22:29:40 the input data is insufficient for an assembly. HOT 3
- No assembly file after running NextDenovo HOT 1
- sort_align step erro HOT 1
- Does NEXTDENOVO filter the contig before output? HOT 2
- Error: db_stat failed ? HOT 1
- ERROR:the input data is insufficient for an assembly HOT 3
- Question about error rate for correction HOT 1
- ctg_align failed HOT 4
- When run nextdenovo with test_data failed HOT 1
- hello , i used the nextdenovo to assemble the ultra large size genome of 23g, the fq only 270g, just want to assemble the grapgh HOT 7
- How to improve the N50 and reduce contigs numbers? HOT 7
- Test won't run HOT 1
- For low base quality of sequences HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextdenovo.