Skip to content

Fix qc=none to automatically unzip gzipped input files#13

Open
Stefan-JLU wants to merge 1 commit into
gkudla:masterfrom
Stefan-JLU:qc-none-unzip
Open

Fix qc=none to automatically unzip gzipped input files#13
Stefan-JLU wants to merge 1 commit into
gkudla:masterfrom
Stefan-JLU:qc-none-unzip

Conversation

@Stefan-JLU
Copy link
Copy Markdown

When qc=none is used with gzipped input files (.gz extension), hyb now correctly unzips them before processing. Previously, qc=none would create a symlink directly to the compressed file, causing downstream tools to fail.

The fix changes the qc=none preprocessing rule to depend on $(read) instead of $(in). This triggers the existing gunzip rule when the input is compressed, while maintaining backward compatibility with already-unzipped files.

Tested with:

  • Gzipped FASTQ input: Successfully unzips and processes
  • Unzipped FASTQ input: Works as before (no unnecessary operations)
  • Full hyb analyse pipeline with vienna folding: Both cases complete successfully

When qc=none is used with gzipped input files (.gz extension), hyb now
correctly unzips them before processing. Previously, qc=none would create
a symlink directly to the compressed file, causing downstream tools to fail.

The fix changes the qc=none preprocessing rule to depend on $(read) instead
of $(in). This triggers the existing gunzip rule when the input is compressed,
while maintaining backward compatibility with already-unzipped files.

Tested with:
- Gzipped FASTQ input: Successfully unzips and processes
- Unzipped FASTQ input: Works as before (no unnecessary operations)
- Full hyb analyse pipeline with vienna folding: Both cases complete successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants