hifiasm icon indicating copy to clipboard operation
hifiasm copied to clipboard

Hifi + hiC assembly stuck at max_n_chain to 100

Open gushiro opened this issue 1 year ago • 4 comments

I have a large genome (~5GB) with N50 ~3Mb, and 30X of Hi-C coverage (uniquely mapped reads) The assembly is stuck at <[M::ha_opt_update_cov] updated max_n_chain to 100> for two days. I moved to assemble the HiFi reads alone without the Hi-C, which I used only for scaffolding.

Any thoughts on whether I should just let it run or if there is some internal error I can fix here?

PD: the input Hi-C reads are the raw reads (total read pairs)

Writing processed unitig GFA to disk... 
[M::purge_dups] homozygous read coverage threshold: 30
[M::purge_dups] purge duplication coverage threshold: 37
[M::mc_solve:: # edges: 6760]
[M::mc_solve_core_adv::0.757] ==> Partition
[M::adjust_utg_by_primary] primary contig coverage range: [25, infinity]
Writing olaqueousGenome_hicmode_homoPeak30.asm.hic.p_ctg.gfa to disk... 
[M::ha_opt_update_cov] updated max_n_chain to 100

gushiro avatar Nov 17 '23 04:11 gushiro

Is hifiasm still running with enough memory? I am wondering if there is no enough memory for hifiasm.

chhylp123 avatar Nov 17 '23 16:11 chhylp123

it finally finished after ~4 days of being stuck. Looks fine so far

gushiro avatar Nov 20 '23 01:11 gushiro

Got same behaviour on small plant genome (~200Mbp), stuck at the same step and using ~500gb of RAM. HiFi reads 90x coverage and HiC reads 60x coverage. Running already for two days :(

zilov avatar Jan 25 '24 08:01 zilov

@zilov Sorry for the late reply since I was too busy during the last few weeks. Could you please have a try with ‘--s-base -1’? This option will disable base-level homology detection, which might take a large amount of memory. By the way, is it possible that you can share the bin files with me? I just want to have a look why it takes such a huge memory.

chhylp123 avatar Feb 15 '24 05:02 chhylp123