SPRING2 Usage Guide¶
This page is the entry point for using SPRING2. The detailed task guides are split into smaller documents so common workflows are easier to find.
Quick Start¶
Compress paired-end FASTQ:
Decompress an archive:
Preview archive metadata without extracting:
Audit an archive without writing decompressed FASTQ to disk:
Common Workflows¶
- Compression Guide: creating archives from FASTQ or FASTA, grouped lanes, gzip input handling, performance knobs, and notes.
- End-to-End Examples: complete command sequences for DNA, RNA, ATAC, bisulfite, and single-cell workflows.
- Decompression Guide: restoring archives, choosing output
names, gzip restoration rules, grouped outputs, and
--unzip. - Archive Inspection: preview mode, audit mode, stored metadata, and gzip/BGZF reporting.
- Assays and Quality Modes: assay selection,
barcode-related behavior, lossy quality modes, and
--strip. - CLI Reference: complete flag-by-flag option list.
Input Layouts¶
SPRING2 supports these main input patterns:
- Single-end FASTQ or FASTA
- Paired-end FASTQ or FASTA with
--R1and--R2 - Grouped archives using optional
--R3,--I1, and--I2 - Plain-text and
.gzinputs
When grouped lanes are present, a single archive can preserve the read pair, read-3 lane, and index lanes together.
Output Behavior Summary¶
- Compression writes
.sparchives. - Decompression uses the original input filenames when possible if you do not
specify
--output. - For grouped archives,
-o prefixexpands toprefix.R1,prefix.R2, and optionalprefix.R3,prefix.I1, andprefix.I2. - For paired-end decompression, supplying one output base name can expand into two outputs when appropriate.
Logging and Verification¶
- Default logging uses a concise progress display plus warnings and errors.
--verboseor--verbose infoprints step-by-step informational logs.--verbose debugenables detailed troubleshooting diagnostics.- Standard decompression already verifies stored record digests.
--auditadds a verification pass after compression, or performs a full dry-run integrity audit when used with--preview.