Giter Club home page Giter Club logo

Comments (2)

prashantpandey avatar prashantpandey commented on August 20, 2024

Hi @hmusta , in the current version of Squeakr, we have auto-resizing when running with a single thread. So, even if you underestimate the size there won't be a seg fault. Please try it and let me know if you still have any issues.

Thanks,
Prashant

from squeakr.

t-kranz avatar t-kranz commented on August 20, 2024

Hello,

i observed segfaults when using the value from lognumslots.sh as well, with the squeakr version from Oct 2019 (should be 5ad2ad6).

This seems to happen frequently for me on very small test datasets.

Reproducing this should be quite simple:

Create a file (called 1.fastq) containing:

@1_1/1
TATGCACCAGAGTATGGAAGCATAAGCTCTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACCAGTCAACAAAGCCGAGTGGGCGCAACGA
+
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

Then run ntcard followed by lognumslots.sh:

ntcard -k32 1.fastq -p ntcard.out
lognumslots.sh ntcard.out_k32.hist

lognumslots returns 7, but the smallest value for which squeakr count doesnโ€™t crash is 10.

squeakr count -n -e -k 32 -s 7 -o 1.squeakr 1.fastq

results in a seqfault, while

squeakr count -n -e -k 32 -s 10 -o 1.squeakr 1.fastq

works fine.

from squeakr.

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.