Comments (12)
I have the same problem on my Linux box. It seems to be a library problem. A quick gdb shows:
(gdb) run --uchime_ref vderep.fsa --db refs.fsa --chimeras chimeras.fasta --nonchimeras non_chimeras.fasta --uchimeout derep.uchime --abskew 2
Starting program: /usr/bin/vsearch --uchime_ref vderep.fsa --db refs.fsa --chimeras chimeras.fasta --nonchimeras non_chimeras.fasta --uchimeout derep.uchime --abskew 2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
vsearch v1.0.5_linux_x86_64, 15.6GB RAM, 4 cores
https://github.com/torognes/vsearch
Reading file refs.fsa 100%
620 nt in 2 seqs, min 240, max 380, avg 310
Indexing sequences 100%
Counting unique k-mers 100%
Creating index of unique k-mers 100%
Detecting chimeras 0%[New Thread 0x7ffff6fb2700 (LWP 16544)]
[New Thread 0x7ffff67b1700 (LWP 16545)]
[New Thread 0x7ffff5fb0700 (LWP 16546)]
[New Thread 0x7ffff57af700 (LWP 16547)]
Detecting chimeras 0%*** Error in `/usr/bin/vsearch': realloc(): invalid next size: 0x00007fffec024780 ***
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff5fb0700 (LWP 16546)]
0x00007ffff7029107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
I'll dig deeper into the stack tomorrow morning.
from vsearch.
Ok thanks!
from vsearch.
Hi Julia and Frederic,
if you provide me a set of example input files where the problem occurs, I could try to debug/fix the problem now.
tomas
from vsearch.
I can also look into it! :) I am unable to reproduce any of these problems, but I do not have database you are using nor all the query sequences. It seems like a memory allocation/deallocation bug in VSEARCH.
VSEARCH should handle both the wrapped and unwrapped input files. I do not understand why you get an error with the input file in your second try, Julia. The problem might be further down in your query file. I do not think the two problems are related.
I'll implement the --log option soon.
from vsearch.
Julia: Thanks for reporting this bug and sorry for the problems caused.
from vsearch.
Julia: I found your testing_vsearch repo and cloned it. I got the same error. Looking into it...
from vsearch.
Ok great! That was fast.
from vsearch.
I believe I have found and removed the bug. It allocated insufficient memory for the alignment sequences. Fixed now in VSEARCH 1.0.6 just released. I hope this fixes your problems. Please report back if it works or not. Thanks.
from vsearch.
Great fixed! Thanks for such a quick response! My test set works perfectly now.
Unfortunately I now getting an illegal header line error: Fatal error: Illegal header line in query fasta file
from some header in my fasta file. I will try to track down what it giving the error and see if it warrants another issue or perhaps it is something I should fix in my headers. The joys of having used different sequencing facilities. 😬
from vsearch.
The problem with the header line might also be a bug in vsearch. It should have reported the line number so that it would be easier to track down the problem.
Do you have some particularly long lines in your fasta file? That could be the problem.
from vsearch.
Ok my bad, I was mistakenly using the fasta file I edited to have no line wrapping (after using vseach's derep_fulllength
). vsearch did not report the line number of any problems.
Using the correct, unadultered output from derep_fulllength
the uchime_ref
is now working!
from vsearch.
Version 1.0.6 works correctly for me too. Sorry for not spotting that during the test phase.
from vsearch.
Related Issues (20)
- Include rows of OTUs with no mapped reads in OTU tables
- EE: document the meaning of expected error values HOT 2
- appending sample names to fasta headers incomplete HOT 1
- Windows binaries: working with compressed files HOT 3
- --sizein seems having no effect in vsearch --usearch_global HOT 9
- Why FASTQ quality value above qmax is treated as Fatal error? HOT 5
- maxseqlength is not supported by makeudb_search command HOT 4
- Option to output the reason why merging failed
- Build errors with GCC 13 on Debian 13 HOT 8
- Too many "alignment score too low, or score drop too high" during pair-end merge compared with FLASH HOT 5
- fastq_mergepairs: merging stats should be written to log file if --log is used HOT 2
- add a DEBUG compilation option HOT 4
- Update log file output for --chimeras_denovo command HOT 1
- always report the rightmost match if multiple equivalent occurrences are present in target sequence? No. HOT 5
- compilation warning with ar: 'u' modifier ignored since 'D' is the default HOT 2
- sintax output is sometimes 4 columns and other times 5 columns HOT 3
- fastq_stripleft when the resulting length is null?
- forward read trimming and filtering (Minardi et al. 2021) HOT 1
- control of 2 separate randseed events in sintax HOT 10
- from fasta files to an OTU table HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsearch.