Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'antibody_treemap_plot' in cellranger outout web_summary.html from a CITEseq experiment #2520

Closed
4 tasks done
yige-luo opened this issue Apr 30, 2024 · 1 comment · Fixed by #2525
Closed
4 tasks done
Labels
bug: module Bug in a MultiQC module

Comments

@yige-luo
Copy link

Description of bug

The bug seems to concern the Antigen Derived Tag (ADT) component in the web_summary.html generated from cellranger (in addition to single-cell gene expression data). The Antibody-based QC metrics seem not to be included in the current html parsing.

File that triggers the error

web_summary.html.zip

MultiQC Error log

(py3.11) ➜  CiteSeq git:(main) ✗ multiqc . 

  /// MultiQC 🔍 | v1.21

|           multiqc | Search path : /Users/luoyx10/Library/CloudStorage/OneDrive-AbbVieInc(O365)/Projects/ABBV438/data/human/PBMC/CiteSeq
|         searching | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 64/64  
╭─────────────── Oops! The 'cellranger' MultiQC module broke... ───────────────╮
│ Please copy this log and report it at                                        │
│ https://github.com/MultiQC/MultiQC/issues                                    │
│ Please attach a file that triggers the error. The last file found was:       │
│ data/110044049_1ugmlDC-2027622/web_summary.html                              │
│                                                                              │
│ Traceback (most recent call last):                                           │
│   File "/Users/luoyx10/miniconda3/envs/py3.11/lib/python3.11/site-packages/m │
│     output = mod()                                                           │
│              ^^^^^                                                           │
│   File "/Users/luoyx10/miniconda3/envs/py3.11/lib/python3.11/site-packages/m │
│     n["count"] = self.parse_count_html()                                     │
│                  ^^^^^^^^^^^^^^^^^^^^^^^                                     │
│   File "/Users/luoyx10/miniconda3/envs/py3.11/lib/python3.11/site-packages/m │
│     self.parse_count_report(f)                                               │
│   File "/Users/luoyx10/miniconda3/envs/py3.11/lib/python3.11/site-packages/m │
│     summary["antibody_tab"]["antibody_treemap_plot"]["plot"]["data"][0]["lab │
│     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^                         │
│ KeyError: 'antibody_treemap_plot'                                            │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
|           multiqc | Report      : multiqc_report.html
|           multiqc | Data        : multiqc_data
|           multiqc | MultiQC complete

Before submitting

  • I have read the troubleshooting documentation.
  • I am using the latest release of MultiQC.
  • I have included a full MultiQC log, not truncated.
  • I have attached an input file (.zip if necessary) that triggers the error.
@vladsavelyev
Copy link
Member

@yige-luo, thanks for submitting an issue and a test example, and sorry about the bug! It should be fixed with #2525

@vladsavelyev vladsavelyev added this to the MultiQC v1.22: Pydantic milestone May 2, 2024
@vladsavelyev vladsavelyev added the bug: module Bug in a MultiQC module label May 2, 2024
vladsavelyev added a commit to MultiQC/test-data that referenced this issue May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: module Bug in a MultiQC module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants