Skip to content
Skills Library
Science & research · Automation

refdata-offline-transfer

/refdata-offline-transfer

Prepare SEQC2/GIAB reference test data on a machine with internet and move it to an offline HPC: seqc2 fetch, checksums, relocatable samplesheets/params (config-base, pipelines_testdata_base_path), test_full_offline profile, transfer bundle and verification after the copy. Use when a test or benchmark must run without internet.

Licence
MIT
Last repository change
11.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Prepare SEQC2/GIAB reference test data on a machine with internet and move it to an offline HPC: seqc2 fetch, checksums, relocatable samplesheets/params (config-base, pipelines_testdata_base_path), test_full_offline profile, transfer bundle and verification after the copy. Use when a test or benchmark must run without internet.

Original author description

Prepare SEQC2/GIAB reference test data on a machine with internet and move it to an offline HPC: seqc2 fetch, checksums, relocatable samplesheets/params (config-base, pipelines_testdata_base_path), test_full_offline profile, transfer bundle and verification after the copy. Use when a test or benchmark must run without internet.

How it works

  1. Steps
  2. Checks before finishing
  3. Pitfalls
Original SKILL.md headings · 54 lines, 451 words
SKILL.md preview
---
name: refdata-offline-transfer
description: 'Prepare SEQC2/GIAB reference test data on a machine with internet and move it to an offline HPC: seqc2 fetch, checksums, relocatable samplesheets/params (config-base, pipelines_testdata_base_path), test_full_offline profile, transfer bundle and verification after the copy. Use when a test or benchmark must run without internet.'
---

# Move reference test data to an offline HPC

Purpose: the same md5-checked data and inputs on the HPC as on the preparing machine, with
no download during the run.

Use for `test_full_offline` / T2 runs and benchmarks on a cluster without internet. Not for
container images and pipeline code (hand to `nf-core-release`: `nf-core pipelines download`).

## Steps

1. **Choose the selection** (`refdata-select`): pairs, technologies, truth, annotation.
   SEQC2 config example `datasets/<workflow>_offline.yaml` with `access: local`.
2. **Disk on the preparing machine**: follow "Large data" in the global rules (mount check if `<SCRATCH_DIR>` is on a removable disk); `seqc2 plan <config>
   --pairs ...` for the total; `SEQC2_CACHE=<SCRATCH_DIR>/cache/seqc2`, dataset in
   `<SCRATCH_DIR>/data/seqc2/<name>/`.
3. **Fetch and verify**: `seqc2 fetch <config> --outdir <dir> --pairs IL_1,FD_1,NV_1`, then
   `seqc2 verify`. GIAB files: download plus `md5sum -c` against the published list.
4. **Write relocatable inputs**:
   - `seqc2 samplesheet <config> --outdir <dir> --pairs ... --profile <p>` with a profile
     using `paths: relative`, or
   - `--config-base '${params.pipelines_testdata_base_path}<name>'` so `params.config` resolves
     paths on the HPC (check the toolkit version supports it), or
   - run `seqc2 samplesheet` again on the HPC (absolute paths; the toolkit needs no network
     for a local dataset once the catalog is cached; verify with the version in use).
5. **Bundle**: the dataset folder (incl. `checksums.md5`, `README.md`, `dataset.json`),
   GIAB files with their md5 list, VEP cache or other resources the pipeline needs, and a
   short `RUN.md` with the exact commands. Do not include the toolkit cache.
   `tar -cf <name>_<YYYYMMDD>.tar <dir>`; write `sha256sum` of the tar.
6. **Transfer** (user does it if credentials are needed): `rsync -av --partial` or the tar.
7. **Verify on the HPC**: `sha256sum -c`, then `cd <dir> && md5sum -c checksums.md5` (or
   `seqc2 verify` if the toolkit is installed there).
8. **Run** (example):
   `nextflow run <pipeline> -profile test_full_offline,singularity --pipelines_testdata_base_path <dir>/ --outdir <out>`
   with offline containers (`NXF_OFFLINE=true`, Singularity cache from `nf-core pipelines download`).
9. **Bring results back**: summary tables and MultiQC report only; record pipeline version,
   dataset config, toolkit commit and truth version.

## Checks before finishing

- No path in samplesheet/params points to the preparing machine (`grep -n <SCRATCH_DIR>` and
  home paths in the generated files).
- Every file in the bundle is covered by a checksum.
- `RUN.md` lists resources the bundle does not contain (VEP cache, containers).

## Pitfalls

- `access: remote` datasets read URLs at run time: never use them offline.
- `samplesheet` refuses a folder built with another selection: use the same `--pairs` etc.
- Whole files are hard-linked from the cache, or symlinked when the cache is on another file
  system: check with `find <dir> -type l`; use `tar -h`/`rsync -L` or the bundle holds
  dangling links.
- Hard-coded HPC paths in the pipeline repo break CUBI rules: pass them as params.

Versions

The database has no other skills named refdata-offline-transfer.

Database snapshot: 13.11.2026 · package version 8732ee1914cf (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100refdata-seqc2-dataset-prepare
    Download and build a SEQC2 (HCC1395/HCC1395BL) dataset folder with seqc2-toolkit: dataset config, seqc2 plan/fetch/verify, md5-checked cache, VCF/BAM/reference/truth/GENCODE/GIAB stratification files. Use when a workflow test needs SEQC2 data on disk or as remote URLs.
  • 100refdata-benchmark-germline-giab
    Benchmark germline small variants (and SVs) against GIAB HG001-HG007 (NISTv4.2.1) or HG002 v5.0q with hap.py + vcfeval engine and GIAB genome stratifications (v3.5/v3.6), truvari for SVs; includes downloads, md5, reference choice and WES restriction. Use when validating a…
  • 100implement-and-scale-bioinformatics-pipeline
    Implement a designed genomics workflow in the chosen engine, containerize and pin every tool for reproducibility, scale it with scatter/gather on HPC Slurm or cloud Batch (spot on the fault-tolerant steps), and validate it against a GIAB/GA4GH hap.py truth set — then produce a…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.