File Staging & Upload¶
Files must be staged (uploaded to a temporary area) before they can be linked to samples via bulk submission.
Upload methods¶
Browser upload (recommended for < 5 GB)¶
- Go to Submit → Bulk Submit → Step 2 (Upload Files)
- Click Choose Files to select one or more files
- Files upload directly to the backend
- MD5 checksums are computed server-side automatically
- Upload progress is shown per file
API upload¶
curl -X POST http://localhost:8000/api/v1/staging/upload \
-H "Authorization: Bearer $TOKEN" \
-F "file=@SAMPLE_001_R1.fastq.gz"
Response:
{
"id": 1,
"filename": "SAMPLE_001_R1.fastq.gz",
"file_size": 1234567890,
"checksum_md5": "d41d8cd98f00b204e9800998ecf8427e",
"status": "VERIFIED",
"upload_method": "direct",
"created_at": "2026-01-15T10:30:00"
}
FTP upload (recommended for large files)¶
For files larger than 5 GB, use FTP to avoid browser timeout issues.
Connect¶
Tips¶
- Use
lftpfor resume support on interrupted uploads - Upload to your user directory — files appear in staging automatically
- Supported formats:
.fastq,.fastq.gz,.fq,.fq.gz,.bam,.cram,.vcf,.vcf.gz
Managing staged files¶
List staged files¶
Delete a staged file¶
What happens to staged files¶
- Upload — File stored in staging bucket (
nfdp-staging) - Validation — Bulk submit matches staged files to sample sheet rows
- Confirmation — Matched files are linked to runs and marked as "linked"
- Cleanup — Linked files are moved from staging to the raw bucket (
nfdp-raw)
Files persist across sessions
Staged files remain available until used or deleted. You can upload files in one session and submit the sample sheet later.