Code Monkey home page Code Monkey logo

Comments (6)

rchikhi avatar rchikhi commented on May 31, 2024

Hi Simone,

  1. It makes sense that BCALM outputs way more unitigs than reference contigs, because each unitig is broken as soon as there is a repeated k-mer in the reference with a different base after and/or before.

  2. Regarding the small difference in kmer counts, this is odd. Could you please run a third kmer counter, e.g. KMC3 https://github.com/refresh-bio/KMC to see if it agrees with one method or the other?

Rayan

from bcalm.

simonepignotti avatar simonepignotti commented on May 31, 2024

Hi Rayan,

  1. Yes absolutely, but I found weird that most unitigs are of length ~k, and that for k=25 I got almost 3 times the size of the reference. Still, this is of course possible.
  2. I will run it and post the results. UPDATE: The k-mer count given by KMC agrees with jellyfish's

Thank you for your quick answer!
Simone

from bcalm.

rchikhi avatar rchikhi commented on May 31, 2024

Hi Simone,

Regarding 2. wow yes, indeed. Thanks for reporting it, I am investigating this discrepancy in DSK counts.

from bcalm.

simonepignotti avatar simonepignotti commented on May 31, 2024

No problem, let me know if you need more infos to reproduce the error

from bcalm.

rchikhi avatar rchikhi commented on May 31, 2024

Hi Simone,
Apologies for the delay in addressing this bug. It has stumped me for a while because that test case was quite large. Finally I found the issue: the reference FASTA file that you provided contains IUPAC nucleotides:
...caaTGGGCTTTCCATATATGGCCTTAATTATGTTGAGGTAGTTTCCTTCTGTTCCTAGTTTGGTGRATGTTTTTTATCAT.....

and BCALM doesn't handle them so well. It replaced the 'R' with a 'C', and shouldn't have done so.

from bcalm.

rchikhi avatar rchikhi commented on May 31, 2024

thanks again for the detailed bug report!

from bcalm.

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.