MultiQC skips assembly metadata table for co-assemblies (comma in quoted Runs field)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 70/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- data
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Nextflow
- Star
- 22
- Fork
- 11
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nf-core/seqsubmit
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Long-read end-to-end submissionCó thể đã có người làm @Vkale1 đã nhận 10 ngày trước. Đang mởenhancement
nf-core/seqsubmit#110 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow single contig genomes to be submitted as chromosomes for long-readsCó thể đã có người làm @Vkale1 đã nhận 10 ngày trước. Đang mởenhancement
nf-core/seqsubmit#109 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow BAM as input for long-reads submissionCó thể đã có người làm @Vkale1 đã nhận 11 ngày trước. Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
nf-core/seqsubmit#98 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nf-core/seqsubmit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
UKGovernmentBEIS/optstop#10 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
automated endpoint-dead needs-curation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
mloda-ai/mloda-registry#1348 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
pola-rs/polars-benchmark#198 ·