MultiQC skips assembly metadata table for co-assemblies (comma in quoted Runs field)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- data
Línea de trabajo
Start with the CONCAT_METADATA output, assemblies_metadata.csv, where a co-assembly row has a quoted Runs field containing commas, and with assets/multiqc_config.yml, which configures the assembly_metadata custom content. Reproduce with tests/assembly_coassembly_with_coverage.nf.test and check multiqc.log for the column-count warning. Done when that warning is gone, the assembly_metadata files appear in the co-assembly snapshots, and the single-run tests still pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description of the bug
Description
For co-assemblies, the "Assembly metadata" section is missing from the MultiQC report. multiqc_assembly_metadata.txt and the assembly_metadata.{png,svg,pdf} plots are not produced. Single-run assemblies are not affected.
Cause
assemblies_metadata.csv (from CONCAT_METADATA) stores multiple run accessions as one quoted CSV field:
Runs,Coverage,Assembler,Version,Filepath,Sample
"SRR3183850,SRR3183951",45.5,SPAdes,3.15,genome.fna.gz,ERS32616275
This is valid CSV. However, MultiQC custom content splits rows on every delimiter and ignores quoting. It reads 7 columns in the data row against 6 in the header, and drops the file:
[WARNING] Inconsistent number of columns found in assemblies_metadata.csv. Skipping..
[WARNING] Not able to parse custom data in assemblies_metadata.csv
To reproduce
nf-test test tests/assembly_coassembly_with_coverage.nf.test --profile +docker --verbose
Then check multiqc.log in the MULTIQC work dir. The current tests/assembly_coassembly_*.nf.test.snap snapshots were recorded with this bug, so they don't contain the assembly_metadata files.
Expected behaviour
The co-assembly metadata table appears in the MultiQC report, with all source runs listed in the Runs column.
Possible fix
Give MultiQC its own copy of the metadata without changing the CSV used for manifest generation. Either:
- convert the MultiQC copy to TSV and set file_format: tsv for assembly_metadata in assets/multiqc_config.yml, or
- join run accessions with ; in the MultiQC copy only.
After the fix, regenerate the co-assembly snapshots.
Command used and terminal output
Relevant files
No response
System information
No response
- 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
-
Long-read end-to-end submissionPosiblemente ocupada @Vkale1 la tomó hace 9 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 9 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
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
Todos los issues de nf-core/seqsubmit
Issues similares
-
Author Page: noshin-nawalAbiertoauthor-page correction
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
acl-org/acl-anthology#10599 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
crate: spate-core priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue help wanted
Dificultad 2/5 1-2 días Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[BUG] MIDAS fails on short multivariate or sampled seriesPosiblemente ocupada @AryanRG la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día