Comments (6)
Hi @wwood and @kisakesenhi
@kisakesenhi maybe you could use niffler to read transparently row, gz, bz2, xz. Maybe with a feature I could write a PR if you want.
Best
from fastq-rs.
Hi,
fastq looks good - but I'm wondering if there's a way to iterate multiple fastqs together when each of them may or may not be compressed? My current attempt basically involves munging the source of each of these methods together.
Also, while I'm talking feature requests, any chance of fasta support? With that it would be a nice kseq.h replacement.
Thanks, ben
Hi Ben,
I've tried to this with flate2 package for fastq files, however there, the parsing stopped for concatenated gzip files as soon as it sees the file ending.
I've used the use rust_htslib::bgzf::Reader that doesn't have this, it also provides a read buffer independent of the whether the file is gzipped or plain text files. https://github.com/kisakesenhi/mgi_read_converter
Best,
Ibrahim
from fastq-rs.
@natir, thank you very much, it seems interesting. Let's discuss this privately. I guess my problem with persist with concatanated files if it'll direct the reader from flate2 library.
We first need this rust-lang/flate2-rs#315 to be fixed. niffler seems to be a better option, than using the htslib reader.
from fastq-rs.
Use MultiGzDecoder isn't solve your issue ?
from fastq-rs.
Use MultiGzDecoder isn't solve your issue ?
That solves the issue thanks. Checked the niffler, it also uses MultiGzDecoder. Would you like to implement it with PR ?
Ideally, I would like it to be a base code that edits fastq files, trimming etc. So that'll great to have the input and the output of the same type, compression etc.
from fastq-rs.
I start work on it :)
from fastq-rs.
Related Issues (7)
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 fastq-rs.