esteinig / nanoq

Minimal but speedy quality control for nanopore reads in Rust :bear:
MIT License
109 stars 9 forks source link

Nanoq on multiple compressed fastq.gz files #46

Open RommerskirchenA opened 1 month ago

RommerskirchenA commented 1 month ago

Hi,

I encounter an error when running nanoq on multiple fastq.gz files (from one barcode) with their generic Nanopore names, it usually tells me that file *_10.fastq.gz isn't valid in this context. When first concatinating the file this error is not raised.

error: Found argument 'barcode13/PAQ96126_pass_barcode13_a9873f14_18d6854d_10.fastq.gz' which wasn't expected, or isn't valid in this context

Is there a way to circumvent this?

Thanks in advance!

esteinig commented 1 month ago

@RommerskirchenA could you list the command you ran for this precisely?

RommerskirchenA commented 20 hours ago

yes sure:

nanoq -i path/to/barcodes/*.fastq.gz -q 18 > path/to/filtered_reads.fastq.gz