Add tests for --is_private flag for different kinds of data
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Área
- testing-qa
Línea de trabajo
Comienza con la sección Data privacy de docs/usage.md y después examina los conf/test_.config existentes, las hojas de ejemplo y los patrones de tests/.nf.test para reads, ensamblajes metagenómicos y MAGs/bins. Pregunta a un mantenedor por accessions privadas de Webin adecuadas antes de crear las pruebas. El trabajo está terminado cuando cada tipo de datos cubre datos de origen privados con --is_private y el caso de fallo documentado sin él.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Difficulty: Easy
Why this matters: ENA (European Nucleotide Archive) lets you build a submission on top of data that isn't public yet, as long as your Webin account has access to it. The pipeline supports this through --is_private. There's currently no automated test covering this for any of the three submission types (reads, metagenomic assemblies, MAGs/bins), so a bug in this part of the pipeline could slip through unnoticed.
Some terms: ENA (European Nucleotide Archive) is the public repository this pipeline submits data to. Webin is ENA's account and authentication system, you need a Webin account to submit anything, and registration is free and self-service. "Private data" means data that has been submitted to ENA but isn't publicly visible yet, only accessible to the Webin account that submitted it (or one it's been shared with). docs/usage.md has a "Data privacy" section with a table of the different combinations (public/private source data, public/private submission) and which flags each one needs, that table is the best starting point.
Skills / experience: nf-test: creation and running of tests (see the nf-core nf-test testing guide if this is new to you).
Suggested approach:
- Read the "Data privacy" section of
docs/usage.mdclosely, this is the main reference for what--is_privatedoes and when it's needed. - For each of the three data types (reads, metagenomic assemblies, MAGs/bins), add a test that references private source data with
--is_privateset. No need to also test private vs public submission visibility, just focus on getting private source data covered for all three types. - ** ⭐ You'll need actual private test data already submitted under a Webin test account for this, check with a maintainer whether suitable private accessions already exist, or if you need to submit some first.**
- Add a
conf/test_*.configper data type and a sample sheet that uses registered private accessions, following the pattern of the existing ones. - Add a matching
tests/*.nf.testper data type. - Also worth testing the failure case: private source data referenced without
--is_privateshould fail, as described in the docs table.
- Lenguaje dominante
- Nextflow
- Estrellas
- 22
- Forks
- 11
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 8
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nf-core/seqsubmit
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 Medio día Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Long-read end-to-end submissionPosiblemente ocupada @Vkale1 la tomó hace 10 días. Abiertoenhancement
nf-core/seqsubmit#110 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Allow single contig genomes to be submitted as chromosomes for long-readsPosiblemente ocupada @Vkale1 la tomó hace 10 días. Abiertoenhancement
nf-core/seqsubmit#109 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Allow BAM as input for long-reads submissionPosiblemente ocupada @Vkale1 la tomó hace 11 días. Abiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
nf-core/seqsubmit#98 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de nf-core/seqsubmit
Issues similares
-
[flaky test] TestValidatorCommitterDropsEmptyStatusBatch: submits to the mock VC before its stream is registeredPosiblemente ocupada @liran-funaro la tomó hoy. Abiertocoordinator flaky-test race-condition testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
hyperledger/fabric-x-committer#876 ·
Los mantenedores suelen responder en 1 día
-
fix(testing): HeadlessTerminal disposes services synchronouslyPosiblemente ocupada @zidad la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
RazorConsole/RazorConsole#388 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
rust-embedded/heapless#694 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
geocaml/ocaml-tiff#122 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
WingedGuardian/GENesis-AGI#3631 ·
Los mantenedores suelen responder en 1 día