hifiasm icon indicating copy to clipboard operation
hifiasm copied to clipboard

Assertion `((*q0l) == (*q1l)) && ((*t0l) == (*t1l)) && (err0 == err1)' failed

Open erfrancoeur opened this issue 7 months ago • 8 comments

Hi,

I am working on assembling a few genomes using both hifi and ont data.

I was able to successfully generate one genome assembly, however the second has been unable to complete. I ran the same command on the two genomes and am not sure what may be causing an assertion error on the second one. I tried a different version of this tools but I get the same error.

Here is the command I have been running:

#!/bin/bash
#SBATCH --job-name=hifiasm-1908M
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=32
#SBATCH --mem=500G
#SBATCH --time=72:00:00
#SBATCH --qos=batch
#SBATCH -o slurm.%x.%j.out
#SBATCH -e slurm.%x.%j.err


source /home/${USER}/.bashrc
pwd; hostname; date

module load hifiasm/0.19.8
module load samtools/1.13

#run hifiasm with ultra long ont reads
hifiasm -o /projects/beck-lab/pedigree/assembly/hifiasm-ul/0.19.8-ul/1900M/1900M.asm -t32 --ul /projects/beck-lab/pedigree/data/ont/1900M/*/*.fastq_pass.fastq.gz /projects/beck-lab/pedigree/data/hifi/1900M/m64119e_230512_053608.hifi_reads.fastq.gz

Here is the error I have been getting:

hifiasm: inter.cpp:11997: int64_t cal_exact_batch(overlap_region*, ul_ov_t*, uint64_t, int64_t, uint64_t*, uint64_t*, uint64_t*, uint64_t*, uint64_t*, uint64_t*, ma_ug_t*): Assertion '((*q0l) == (*q1l)) && ((*t0l) == (*t1l)) && (err0 == err1)' failed.
/.singularity.d/runscript: line 3: 169171 Aborted                 /opt/hifiasm/cmd_wrapper.sh "$@"
SIGABRT: abort
PC=0x473c4b m=0 sigcode=0

Thus far it has generated some output files before the error is given but these do not appear to be the final output I am expecting.

image

Your assistance is greatly appreciated.

Thanks!

erfrancoeur avatar Nov 28 '23 17:11 erfrancoeur