Comments (7)
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.
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.
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.
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.
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.
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.
I will consider your suggestion and implement a functionality for random sampling reads from FASTQ file.
from pyfastx.
Related Issues (20)
- UnicodeDecodeError: 'utf-8' codec can't decode bytes in position HOT 4
- Does current pyfastx support py2.7 version? HOT 2
- [Feature Request] Get barcodes from Fastx function HOT 1
- Import Error HOT 3
- Fastx parser vs Fasta/Fastq parsers HOT 2
- Unable to index gzipped fasta file by name: KeyError: 'chrY does not exist in fasta file' HOT 1
- SystemError: <class 'Fasta'> returned a result with an error set; on loading gzipped fasta HOT 2
- Support Python 3.11 on conda? HOT 3
- Unicode error reading large fastq with index? HOT 2
- Cannot read input file with Chinese text in filename HOT 2
- Segmentation fault using .composition on each contig HOT 2
- How to get antisense sequence from any strings ? HOT 1
- Memory leak in Fastq read (probalby .quali) HOT 2
- Pointer being freed was not allocated error with `memory_index=True` HOT 2
- Full Fasta info object without index building HOT 1
- Building/installing `pyfastx` from source is not possible due to zlib upgrade
- Pyfastx.read.raw mangling reads HOT 8
- Making invalid slices return an empty string instead of None HOT 1
- Sequence compostion HOT 2
- read.seq end with read.name when using pyfastx.Fastq in parsing long read FASTQ file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfastx.