Przejdź do treści
Biblioteka skilli
DevOps i chmura · Budowanie i kod

nf-core-container-uri

/nf-core-container-uri

Definiuje lub naprawia specyfikację conda i kontenera modułu nf-core: environment.yml, przypięte wersje i dyrektywę Wave.

Licencja
MIT
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
7
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Definiuje lub naprawia specyfikację conda i kontenera modułu nf-core: environment.yml, przypięte wersje i dyrektywę Wave.

Argumenty

/nf-core-container-uri Module name and the conda package(s) with versions
Oryginalny opis (EN)

Define or fix the conda/container specification of an nf-core module: environment.yml pinning and the Docker/Singularity container directive via Seqera Containers (Wave). Use when creating a module, bumping a tool version, or when a container URI fails to pull.

Jak działa

  1. Rules
  2. Procedure
  3. Verification
  4. Notes
Sekcje z nagłówków SKILL.md, w oryginale · 44 linii, 358 słów
Podgląd SKILL.md
---
name: nf-core-container-uri
description: 'Define or fix the conda/container specification of an nf-core module: environment.yml pinning and the Docker/Singularity container directive via Seqera Containers (Wave). Use when creating a module, bumping a tool version, or when a container URI fails to pull.'
argument-hint: 'Module name and the conda package(s) with versions'
user-invocable: true
---

# Module Containers and Conda Environments

**Canonical guide:** <https://nf-co.re/docs/developing/containers/seqera-containers>
(ARM64 specifics: <https://nf-co.re/docs/developing/containers/arm64-on-bioconda>)

## Rules

- One tool plus its required dependencies per module. Do not bundle unrelated tools into one container.
- `environment.yml` is the source of truth; the container URIs are generated *from* its package list. If they disagree, the module is broken.
- Pin exact versions with an explicit channel prefix (`bioconda::samtools=1.21`), never a floating version.

## Procedure

1. Write/update `modules/.../environment.yml` with the channel-prefixed, version-pinned package(s).
2. Test the environment resolves before generating containers — a container build failure is much slower to diagnose than a conda solve failure. Hand off to `conda-agent` if the solve is non-trivial.
3. Generate the container URIs at <https://seqera.io/containers/>:
   - Enter the exact packages from `environment.yml`.
   - Generate the **Docker** URI first.
   - Switch to **Singularity**, wait for the build to finish, then tick the **HTTPS** checkbox (it only appears after a successful build) and copy that URI.
4. Write the directive in `main.nf` exactly in this shape:
   ```groovy
   container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
       'https://community-cr-prod.seqera.io/<singularity-container-id>' :
       'community.wave.seqera.io/<docker-container-id>' }"
   ```
   Formatting rules that lint and runtime both depend on:
   - the Docker URI has **no** `https://` prefix;
   - the Singularity URI **must** keep the full `https://community-cr-prod...` prefix.
5. Keep the `conda "${moduleDir}/environment.yml"` directive alongside it.

## Verification

- `nf-core modules lint <name>` passes its container checks.
- The module runs under each backend the pipeline supports: `nf-test test ... --profile docker` and `--profile singularity` (and `--profile conda` where used).
- Version reported by the module at runtime matches the pin in `environment.yml`.

## Notes

- If a Singularity pull fails with an HTML/404 body, the usual cause is a Docker-style URI in the Singularity slot or a missing `https://` — re-check step 4 before suspecting the registry.
- On ARM64 hosts, check the bioconda ARM64 guide before assuming a package has a linux-aarch64 build; if it does not, note the constraint rather than silently pinning an x86-only image.
- GPU tools use a different, dual-container pattern — see `nf-core-gpu-module`.
- Offline/air-gapped HPC environments have their own container and conda caveats; check the CUBI hints knowledge base before improvising.

Wersje

W bazie nie ma innych skilli o nazwie nf-core-container-uri.

Migawka bazy z 13.11.2026 · wersja paczki fd593cff7615 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100nf-core-module-create
    Tworzy nowy moduł lub podprzepływ nf-core od zera poleceniem nf-core modules create, z main.nf, meta.yml i testami nf-test.
  • 100nf-core-gpu-module
    Pisze lub adaptuje moduł nf-core do uruchamiania na GPU: dyrektywę akceleratora, ext.use_gpu, kontenery CPU i GPU oraz testy.
  • 100deploy
    Tworzy workflowy GitHub Actions, które budują obraz kontenera i wdrażają go do Azure Container Apps: pull request wdraża na UAT, scalenie do main na produkcję.
  • 100deployment
    Weryfikuje pipeline CI/CD, bezpieczeństwo kontenerów Docker, zarządzanie środowiskami i przepływ wdrożeniowy.
  • 98hf-cloud-serving-image-selection
    Dobiera kontener serwujący do wdrożenia modelu na SageMaker i znajduje aktualny URI obrazu, na przykład dla LLM, modeli embeddingów, rerankerów i sentence-transformers.
  • 98hf-cloud-serving-image-selection
    Dobiera kontener serwujący do wdrożenia modelu na SageMaker i znajduje aktualny URI obrazu, na przykład dla LLM, modeli embeddingów, rerankerów i sentence-transformers.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.