Giter VIP home page Giter VIP logo

Comments (7)

DiDeoxy avatar DiDeoxy commented on June 7, 2024

I tried running split and got the following error:

python: malloc.c:2401: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.

from pyfastx.

lmdu avatar lmdu commented on June 7, 2024

I have fixed the memory malloc issue in new version. pyfastx can not split FASTA file sequentially. But pyfastx sequentially split FASTQ file. If you use pyfastx split paired-end fastq file. You should insure the two paired files have the same read counts and reads are paired in the same line position.

from pyfastx.

DiDeoxy avatar DiDeoxy commented on June 7, 2024

So, pyfastx output is deterministic? That is paired-end files with reads in the paired-order and the same number of reads will have the same subsets by position in each of the N files produced by split? And these will be deterministic but not sequential subsets?

from pyfastx.

DiDeoxy avatar DiDeoxy commented on June 7, 2024

Just re-read your comment didn't notice the difference between FASTA and FASTQ. Why make an index if you are just splitting FASTQ sequentially?

from pyfastx.

lmdu avatar lmdu commented on June 7, 2024

Thank you for your suggestion. It's really not necessary to build index prior to splitting FASTQ file. This will be fixed in later version.

from pyfastx.

DiDeoxy avatar DiDeoxy commented on June 7, 2024

You could use the functionality to allow random sampling of the FASTQ file from the command line. I would find this very useful.

from pyfastx.

lmdu avatar lmdu commented on June 7, 2024

I will consider your suggestion and implement a functionality for random sampling reads from FASTQ file.

from pyfastx.

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.