Repository navigation
Troubleshooting
Find the symptom, then the fix.
The binary stays in the build tree: run ./zig-out/bin/z-fastq, or link it into a directory on your PATH (Installation).
The first build fetches the zipir release named in build.zig.zon and checks its hash. Build once with network access; later builds reuse the download.
z-fastq decided it was gzip from its first bytes, so the whole stream must be valid. Test it on its own:
gzip -t reads.fastq.gzTrailing bytes after the last member, even zero padding, also fail (Limits).
The default limit is 16 MiB per line. Raise it only as far as the data needs, for example with --max-line-bytes 33554432 for long reads. It does not allow wrapped records.
Exact counts read the file twice, so they need a regular file. On a pipe, use --fraction.
Look at the first words of the two headers. The default illumina policy understands /1 and /2 and 1:N:... markers; exact compares the first words byte for byte (Paired reads). No policy makes different read names equal.
deinterleave and process never overwrite a file. Remove the old output yourself once you are sure it is safe, or choose a new path.
Streaming commands write records as they go, and a later failure, such as a broken record or a gzip member whose checksum fails, leaves the earlier records written. Trust the exit status (Automation).
--json exists for stats and check; process writes its JSON with --report and --qc-summary. count prints plain numbers (Automation).
A limit was reached: the line limit, a sampling limit, or an arithmetic limit. The message names which.
- FAQ: short answers to common questions.
- Automation: exit statuses in full.
- Validation: what each error code means.
z-fastq v0.2.1 | Home | Getting started | Command cheat sheet | Troubleshooting | Source | Releases
z-fastq Wiki
Start
Use it
- Counting and statistics
- Validation
- Paired reads
- Sampling
- Interleaving
- Processing paired reads
- Quality control
Look things up
Decide and solve
Build on it