HaploKit / Strainline

Full-length de novo viral haplotype reconstruction from noisy long reads
GNU General Public License v3.0
17 stars 5 forks source link

failed 'invalid next size' #5

Closed antoine4ucsd closed 2 years ago

antoine4ucsd commented 2 years ago

Hello I had a hard time installing Strainline mostly due to daccord which requires libmaus2 but I was able to copy the liblibmaus2 lib into the shared lib of my conda env. no more error message relatede to this ! BUT, when I try on the example

~/src/strainline.sh -i ./example/reads.fa -o out1 -p pb -k 20 -t 32 always gives me the same error:

reads: 979,200 all OK
[V] args[0]=daccord
[V] args[1]=-t32
[V] args[2]=reads.las
[V] args[3]=reads.dam
[V] copying .reads.las.bidx to mem:.input.las.bidx...done.
[V] copying .reads.las.idx to mem:.input.las.idx...done.
[V] minaread=0 toparead=3661
[V] minfilterfreq=0 maxfilterfreq=2
[V] copying reads.dam to memory...done.
[S] handling aread 0 depth 172
[S] handling aread 1 depth 105
[S] handling aread 7 depth 140
[S] handling aread 2 depth 424
[S] handling aread 6 depth 253
[S] handling aread 9 depth 318
[S] handling aread 27 depth 156
[S] handling aread 15 depth 114
[S] handling aread 4 depth 504
[S] handling aread 30 depth 297
[S] handling aread 25 depth 270
[S] handling aread 14 depth 341
[S] handling aread 12 depth 300
[S] handling aread 29 depth 419
[S] handling aread 22 depth 275
[S] handling aread 26 depth 283
[S] handling aread 21 depth 253
[S] handling aread 18 depth 239
[S] handling aread 5 depth 519
[S] handling aread 17 depth 550
[S] handling aread 8 depth 872
[S] handling aread 20 depth 622
[S] handling aread 24 depth 816
[S] handling aread 23 depth 669
[S] handling aread 35 depth 244
[S] handling aread 19 depth 942
[S] handling aread 34 depth 706
[S] handling aread 33 depth 1070
[S] handling aread 13 depth 213
[S] handling aread 31 depth 310
[S] handling aread 37 depth 506
[S] handling aread 38 depth 368
free(): invalid next size (fast)
/martinlab/users/achaillon/_strainline/Strainline/src/strainline.sh: line 345: 4086103 Aborted                 (core dumped) daccord -t$threads $las_file reads.dam >> corrected.0.fa

all advices would be very welcome! thank you