hifiasm icon indicating copy to clipboard operation
hifiasm copied to clipboard

adapterLen mismatch

Open wharvey31 opened this issue 5 months ago • 1 comments

Hello,

I am trying to add phasing information to a previously unphased assembly of HG00733 using the HGSVC data. I am using hifiasm v0.19.6 to add phasing information after the initial assembly steps using something like follows:

hifiasm -o HG00733/assemblies/hifiasm_ont/0.19.6/HG00733.hifiasm -t 8 -1 /path/to/yak/HG00733_hap1.yak -2 /path/to/yak/HG00733_hap2.yak --ul /dev/null /dev/null

When I try to do this, I get the message:

the adapterLen of index is: 398462216, but the adapterLen set by user is: 0

When I try to manually then set the adapter len with something like as follows:

hifiasm -o HG00733/assemblies/hifiasm_ont/0.19.6/HG00733.hifiasm -t 8 -z 398462216 -1 /path/to/yak/HG00733_hap1.yak -2 /path/to/yak/HG00733_hap2.yak --ul /dev/null /dev/null

I get a segmentation fault. The initial assemblies were generated with:

hifiasm -o HG00733/assemblies/hifiasm_ont/0.19.6/HG00733.hifiasm -t 8 --ul /path/to/ont.fastq.gz /path/to/hifi.fastq.gz

Any guidance would be greatly appreciated. Thanks!

wharvey31 avatar Jan 29 '24 17:01 wharvey31