Giter VIP home page Giter VIP logo

Comments (7)

yechengxi avatar yechengxi commented on June 3, 2024

Result 5 means the two sequences do not align, however, they were recognized to align in an earlier stage, as you have this bug in the final backbone construction step.
I wonder if the program is called in an advanced way?

from dbg2olc.

bredeson avatar bredeson commented on June 3, 2024

Hey @yechengxi,

I have ~38x of RSII data with read L50 of 18.8kb, reads 3kb+ only. I ran DBG2OLC with the following parameters:

DBG2OLC LD 0 k 17 KmerCovTh 2 MinOverlap 20 AdaptiveTh 0.005 RemoveChimera 1 MinLen 3000 Contigs contigs.fa f subreads.3kb.fasta

This produced a segfault. Varying the AdaptiveTh parameter also produced segfaults on some (but not all) runs.

from dbg2olc.

yechengxi avatar yechengxi commented on June 3, 2024

Hi Bredeson,
I see no problem in your command, but may I know which NGS assembler did you use for the Illumina assembly?

from dbg2olc.

bredeson avatar bredeson commented on June 3, 2024

Hey @yechengxi,

I used contigs generated by 10X Genomics' Supernova, as they were more complete than contigs I could generate with other assemblers. The organism I'm attempting to assemble is highly inbred, by the way.

from dbg2olc.

yechengxi avatar yechengxi commented on June 3, 2024

This could be the cause of the seg fault. I have no idea if other assemblers had heuristics that create unexpected structures for DBG2OLC. But you may be able to dig further into the problem as you did in the head of the thread. I would say you are pretty close to a solution.

from dbg2olc.

bredeson avatar bredeson commented on June 3, 2024

@yechengxi,
Would it be sufficient to include a conditional statement to check if the result is 5 and return from Create_Local_Contig_Kmer_Index() to handle this case? On that note, however, I do see in my log file that other alignments have returned result=5 without segfaulting...

from dbg2olc.

yechengxi avatar yechengxi commented on June 3, 2024

If I remember correctly (about this 2 yr old project) if the result is 5 we still need to use the alignment to build the backbone.
Result 5 means the alignment is poor. But still, we need to look at the alignment result to join the reads. This means, find a shared contig, find some shared k-mers and join somewhere.
I just wonder what is happening in your environment.

from dbg2olc.

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.