chhylp123 / hifiasm

Hifiasm: a haplotype-resolved assembler for accurate Hifi reads
MIT License
535 stars 87 forks source link

ERROR: this implementation supports no more than 268435456 reads #240

Open Ahahaha3 opened 2 years ago

Ahahaha3 commented 2 years ago

I used HIFI and HIC data to assembly a genome(~3Gb), command: hifiasm -o Y_asm -t 70 --h1 ../HIC/_1.fq.gz --h2 ../HIC/_2.fq.gz ../01.ccs/HiFireads/*.subreads.fastq.gz. But i can't understand what is causing this error.

chhylp123 commented 2 years ago

Mostly data issue like this https://github.com/chhylp123/hifiasm/issues/182. You should check if your Hi-C files or HiFi files are corrected and intact.

peritob commented 2 years ago

Thanks for developing this great software. Just thought I would contribute to this error as I wasted a couple of hours testing and might help someone else. You might need to concatenate your fastq files in HIC/ dir. One merged copy of R1 and one of R2 or comma separated list. Silly mistake but gives the listed error message.

simon-s-tang commented 1 year ago

Just wanted to add to peritob's comment with my own experience - I got the same error when I was incorporating multiple HiC runs in my genome assembly, but it ran fine when I just added commas between the HiC runs.

E.g. _"...--h1 hic_1_R1.fastq.gz hic_2_R1.fastq.gz --h2 hic_1_R2.fastq.gz hic_2R2.fastq.gz..." didn't work, but _"...--h1 hic_1_R1.fastq.gz,hic_2_R1.fastq.gz --h2 hic_1_R2.fastq.gz,hic_2R2.fastq.gz..." worked fine.

chhylp123 commented 1 year ago

Yes, hifiasm requires commas when you input HiC reads or UL reads.