Open alvanuffelen opened 1 year ago
Using the command with diamond v2.1.0: diamond blastx -q subsample.fq -d nr_cleaned.dmnd -o zymo.daa -F 15 -f 100 --range-culling --top 10 -p 64 -b12 I get the following error
diamond blastx -q subsample.fq -d nr_cleaned.dmnd -o zymo.daa -F 15 -f 100 --range-culling --top 10 -p 64 -b12
[...] Processing query block 1, reference block 13/13, shape 2/2. Building reference seed array... [0.753s] Building query seed array... [0.015s] Computing hash join... [0.098s] Searching alignments... [0.263s] Deallocating memory... [0s] Deallocating buffers... [0.641s] Clearing query masking... [0s] Opening temporary output file... [0s] Computing alignments... Loading trace points... [0.008s] Sorting trace points... [0.012s] Computing alignments... [0.137s] Deallocating buffers... [0.002s] Loading trace points... [0s] [0.161s] Deallocating reference... [0.609s] Loading reference sequences... [0s] Deallocating buffers... [0s] Joining output blocks... Joining output blocks... Error: Format error: Invalid varint encoding.Error: Format error: Invalid varint encoding.Error: Format error: Invalid varint encoding. Error: Format error: Invalid varint encoding. Error: Format error: Invalid varint encoding. free(): corrupted unsorted chunks Error: Format error: Invalid varint encoding.Segmentation fault (core dumped)
The error does not happen:
The database I used was built with the command: diamond makedb --in cleaned.fa --db nr_cleaned --threads 64 and dbinfo gives:
diamond makedb --in cleaned.fa --db nr_cleaned --threads 64
dbinfo
Database type Diamond database Database format version 3 Diamond build 154 Sequences 433397414 Letters 150975358732
I can reproduce the problem. Will try to provide a fix in the next days.
This should be fixed in version 2.1.1.
Using the command with diamond v2.1.0:
diamond blastx -q subsample.fq -d nr_cleaned.dmnd -o zymo.daa -F 15 -f 100 --range-culling --top 10 -p 64 -b12
I get the following errorThe error does not happen:
The database I used was built with the command:
diamond makedb --in cleaned.fa --db nr_cleaned --threads 64
anddbinfo
gives: