pVACview crashing/blanking out when uploading large metrics.json file (313MB+)

Open
#1,365 12 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #1368 by @susannasiebert — merged

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reproducing the pVACview upload failure with the 313 MB TUMOR.MHC_I.all_epitopes.aggregated.metrics.json file and compare it with the user's filtered 110 MB file. Investigate the upload and metrics JSON handling; done means the page no longer blanks out or becomes unresponsive for large metrics files, with a documented filtering path if needed.

Written by the indexing model from the issue text.

Description

I am experiencing an issue where pVACview fails to load the results for my tumor sample. Specifically, when I attempt to upload the TUMOR.MHC_I.all_epitopes.aggregated.metrics.json file, the page blanks out and becomes unresponsive.

As shown in the attached screenshot, the metrics JSON file is approximately 313,290 KB (313 MB), which seems to be exceeding the browser's memory or processing capacity for pVACview.

I have a few questions regarding how to resolve this:

Is there a recommended way to "slim down" or filter the metrics JSON file before uploading it to pVACview?

i tried to filter using python, but it's still reaching down to 110MB
even after i run binding filter and other various filtering, the aggregate TSV shortens in length but the .json file remains big only
Image

Dominant language
Python
Stars
188
Forks
81
Avg merge
9d 17h
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from griffithlab/pVACtools

All issues in griffithlab/pVACtools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.