Giter VIP home page Giter VIP logo

Comments (12)

frederic-mahe avatar frederic-mahe commented on June 3, 2024

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.

jooolia avatar jooolia commented on June 3, 2024

Ok thanks!

from vsearch.

xflouris avatar xflouris commented on June 3, 2024

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.

torognes avatar torognes commented on June 3, 2024

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.

torognes avatar torognes commented on June 3, 2024

Julia: Thanks for reporting this bug and sorry for the problems caused.

from vsearch.

torognes avatar torognes commented on June 3, 2024

Julia: I found your testing_vsearch repo and cloned it. I got the same error. Looking into it...

from vsearch.

jooolia avatar jooolia commented on June 3, 2024

Ok great! That was fast.

from vsearch.

torognes avatar torognes commented on June 3, 2024

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.

jooolia avatar jooolia commented on June 3, 2024

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.

torognes avatar torognes commented on June 3, 2024

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.

jooolia avatar jooolia commented on June 3, 2024

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.

frederic-mahe avatar frederic-mahe commented on June 3, 2024

Version 1.0.6 works correctly for me too. Sorry for not spotting that during the test phase.

from vsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.