PGScatalog / pgscatalog_utils

(superseded by pygscatalog) Utilities for working with PGS Catalog API and scoring files
Apache License 2.0
4 stars 3 forks source link

Adapt combine_scorefiles to output information from scoring file headers #24

Closed smlmbrt closed 1 year ago

smlmbrt commented 1 year ago

combine_scorefiles already reads headers as a dictionary. The information extracted from the PGS Catalog style-header should be combined into a log/json file indexed by the scoring file accession that includes:

Changes will need to be made to pgsc_calc to use metadata from the json rather than an API call. This will have the added benefit of not requiring internet access for any step of the pipeline after download_scorefiles. Changes needed:

smlmbrt commented 1 year ago

@ens-lgil is this something you could take on?

ens-lgil commented 1 year ago

Yes, I can have a look at it