question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to upload wgs-balsamic to Scout

See original GitHub issue

When using an old yaml-file: /home/proj/production/cancer/cases/toughdingo_2019-xx-xx/analysis/scout/toughdingo.scout.yaml

I am copying and converting and adjusting it to a new yaml-file: /home/proj/production/cancer/cases/fullgibbon/analysis/scout/fullgibbon.scout.yaml

I am unable to upload the last yaml-file since the variant has SOMATIC but not somatic score in the vep-annotated vcf-file:

Traceback (most recent call last):
  File "/home/proj/bin/conda/envs/P_main/lib/python3.7/site-packages/scout/adapter/mongo/variant_loader.py", line 643, in load_variants
    sample_info=sample_info,
  File "/home/proj/bin/conda/envs/P_main/lib/python3.7/site-packages/scout/adapter/mongo/variant_loader.py", line 429, in _load_variants
    category=category,
  File "/home/proj/bin/conda/envs/P_main/lib/python3.7/site-packages/scout/parse/variant/variant.py", line 219, in parse_variant
    parsed_variant["somatic_score"] = int(somatic_score)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
2020-11-03 14:39:59 hasta.scilifelab.se scout.adapter.mongo.variant_loader[241498] WARNING Deleting inserted variants
2020-11-03 14:39:59 hasta.scilifelab.se scout.adapter.mongo.variant[241498] INFO Deleting old clinical  variants for case fullgibbon_balsamic
2020-11-03 14:39:59 hasta.scilifelab.se scout.adapter.mongo.variant[241498] INFO 633 variants deleted
2020-11-03 14:39:59 hasta.scilifelab.se scout.commands.load.case[241498] ERROR Something went wrong during loading
2020-11-03 14:39:59 hasta.scilifelab.se scout.commands.load.case[241498] WARNING int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Aborted!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hassanfacommented, Nov 3, 2020

SV/SNV separation is causing some troubles recently (recent BALSAMIC release doesn’t instruct variant callers to disable SV calls). It is in my backlog to split them properly.

1reaction
dnilcommented, Nov 3, 2020

The VCF in question doesn’t even have SOMATICSCORE in the header INFO field, only SOMATIC (very likely from Manta, but unclear why it no longer writes SOMATICSCORE?). And the same goes for the actual variants. To confuse things, the VCF also has a SOMATIC field in the VEP CSQ, but I’m guessing thats a very different, as the INFO one is populated by other means?

When was it last loaded? Must have been some time ago if the VCF didn’t change - the update to cancer SVs was like 9-10 months ago, and this has been handled the same way all that time?

Are you sure you did not simply load only the SNV VCF last time around?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What if a scout's media isn't uploading? - dscout
If any of your scouts are having trouble uploading entries, have them take a look at this comprehensive troubleshooting guide.
Read more >
Cannot add scout picture to profile - Internet Advancement
This occurred after I discovered I could not upload the pictures, so I emailed everyone on our roster to do it at home....
Read more >
how to upload program from simotion scout v4.4 ??? - 196071
current I using simotion scout v4.4, project using S120-cu320-2DP_V4.4. I can't upload project because error " S120-cu320-2DP_V4.7" can't ...
Read more >
Upload Additional Documents to Bids - Scout RFP
You can always upload additional documents to include with your submission. Uploading Additional Documents. Scout makes it easy to upload files ...
Read more >
How to: upload match footage to InStat Scout - YouTube
Simply login to InStat Scout video platform and upload your files ... ... try restarting your device. Your browser can't play this video....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found