SPRING2 Decompression Guide¶
This guide focuses on restoring .sp archives.
Basic Syntax¶
Decompression uses --input / -i and does not use --R1, --R2, --R3,
--I1, or --I2.
Basic Examples¶
Restore a single-end archive:
Restore a paired-end archive:
If you omit --output, SPRING2 uses the original input names stored in the
archive metadata when possible.
Grouped Archive Output Naming¶
Grouped archives are restored with one command.
If you provide a single prefix:
SPRING2 expands that to:
run_out.R1run_out.R2run_out.R3when a read-3 lane existsrun_out.I1when an index lane existsrun_out.I2when a second index lane exists
Example:
Gzip Restoration Rules¶
SPRING2 stores input gzip metadata and uses it during decompression.
Behavior summary:
- If the original input stream was gzipped, decompression can restore gzipped output.
- If you explicitly give output names ending in
.gz, the restored output is gzipped. - Preview mode reports stored gzip and BGZF metadata for each stream.
Example:
Force Plain Output¶
Use --unzip / -u to force plain-text FASTQ or FASTA output even when the
original input was gzipped:
Integrity Verification¶
Normal decompression already verifies stored CRC32 digests for:
- sequences
- quality values
- identifiers
If verification fails, decompression aborts with an integrity error.
Logging¶
Use the same logging levels available during compression: