Closed dnil closed 4 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.21%. Comparing base (
f13bc9e
) to head (ec46dc5
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think I will keep this PR simple with fixing the "simple" missing ones. Those that went obsolete with VCF 4.3 also will need some attentive updating in load functions to make sure all is well with new keys and the same ones on CSQ.
Fixed the missing keys likely stemming from some creative cut and pasting to make the demo file.
Before:
2024-08-30 12:20:15 MacBook-Pro-4.local scout.adapter.mongo.variant_loader[33662] INFO Start inserting clinical snv variants into database
[W::vcf_parse_info] INFO 'AZ' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'AZMARKERS' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'AZTYPE' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'Annotation' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'Hom' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'SWEGENAC_Hemi' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'SWEGENAC_Het' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'SWEGENAC_Hom' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'SWEGENAF' is not defined in the header, assuming Type=String
[W::vcf_parse_info] INFO 'HmtVar' is not defined in the header, assuming Type=String
2024-08-30 12:20:18 MacBook-Pro-4.local scout.adapter.mongo.variant_loader[33662] INFO All variants inserted, time to insert variants: 0:00:03.057766
After:
2024-09-02 07:49:28 MacBook-Pro-4.local scout.adapter.mongo.variant_loader[81891] INFO Start inserting clinical snv variants into database
2024-09-02 07:49:31 MacBook-Pro-4.local scout.adapter.mongo.variant_loader[81891] INFO All variants inserted, time to insert variants: 0:00:02.681580
We will still have the initial invalid tag check to deal with, but as stated that is a slightly different problem:
2024-08-30 12:20:14 MacBook-Pro-4.local scout.adapter.mongo.hgnc[33662] INFO Building interval trees...
[W::bcf_hrec_check] Invalid tag name: "1000GAF"
[W::bcf_hrec_check] Invalid tag name: "1000G_MAX_AF"
[W::bcf_hrec_check] Invalid tag name: "GERP++_RS_prediction_term"
[W::bcf_hrec_check] Invalid tag name: "1000GAF"
[W::bcf_hrec_check] Invalid tag name: "1000G_MAX_AF"
[W::bcf_hrec_check] Invalid tag name: "GERP++_RS_prediction_term"
I'll open a new issue for these.
Is this a fix to #4802 ??
I'm answering myself: nope, or not yet?
Right, no, to the second thing mentioned in the same issue - VCF parsing warnings.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This PR adds a functionality or fixes a bug.
Testing on cg-vm1 server (Clinical Genomics Stockholm)
**Prepare for testing** 1. Make sure the PR is pushed and available on [Docker Hub](https://hub.docker.com/repository/docker/clinicalgenomics/scout-server-stage) 1. Fist book your testing time using the Pax software available at [https://pax.scilifelab.se/](https://pax.scilifelab.se). The resource you are going to call dibs on is `scout-stage` and the server is `cg-vm1`. 1. `sshTesting on hasta server (Clinical Genomics Stockholm)
**Prepare for testing** 1. `sshHow to test:
Expected outcome: The functionality should be working Take a screenshot and attach or copy/paste the output.
Review: