Open Sabramow opened 1 week ago
Hi @Sabramow,
We are aware of the problems in point 1 (redundant with #314 and https://github.com/PGScatalog/pygscatalog/issues/44) and we may close the issue because of this.
Could you elaborate on part 2? What exact command did you use?
S
Thanks for addressing point 1!
For point 2: I was able to replicate this issue, which the attached screenshot of the score report demonstrates; although I specified PGS002759 in the command, it seems the scoring file pulled was PGS000767.
Hi @Sabramow, I can also replicate the problem, it's not a problem with the calculator though (something must have went off when we uploaded those specific harmonised files). Will leave this open while we sort it out.
@Sabramow, we've replaced that file on the FTP. Future runs of pgsc_calc
for that score should use the correct score (provided you delete the work directory to make sure a cached copy isn't used). Thanks again for reporting the issue!
Description of the bug
I've run into issues calculating some of the scores from the PGS Catalog when I indicate their IDs with the
--pgs_id
parameter. Specifically: 1) PGS004255, PGS004256,PGS004258,PGS004259, PGS004260-64, PGS004272, PGS004273, PGS004280, PGS004299, PGS004301, PGS004304, PGS00428 (all from the same publication) cause an error. They are all formatted with dosage weights (see 'relevant files' section for example of formatting). 2) specifying PGS002759 ran without complication but output the score for PGS000767 (also for depression) rather than PGS002759.Command used and terminal output
Relevant files
PGS CATALOG SCORING FILE - see https://www.pgscatalog.org/downloads/#dl_ftp_scoring for additional information
format_version=2.0
POLYGENIC SCORE (PGS) INFORMATION
pgs_id=PGS004280
pgs_name=GenoBoost_all-cause_dementia_0
trait_reported=All-cause dementia
trait_mapped=dementia
trait_efo=MONDO_0001627
genome_build=hg19
variants_number=30
weight_type=beta
SOURCE INFORMATION
pgp_id=PGP000546
citation=Ohta R et al. Nat Commun (2024). doi:10.1038/s41467-024-48654-x
chr_name chr_position effect_allele other_allele dosage_0_weight dosage_1_weight dosage_2_weight 19 45395619 G A -0.1239091 0.2275461 0.68995 19 45396219 T C -0.1833033 0.1472852 0.4591863 19 45403412 T C 0.0663185 -0.0230981 -0.1023525 19 45389596 A G 0.0206892 -0.3438102 -1.0314368 19 45414451 T C 0.0626888 -0.0365833 -0.1220287 7 1569418 C T 0.0527261 0.0033867999999999997 -0.07103519999999999 7 100013457 T C 0.0262445 0.0068097999999999995 -0.0515715 9 6144065 A G -0.0226533 0.033497 0.0791566 9 10430602 C T -0.0162635 0.027885399999999998 0.1389225 16 12666279 G A -0.0205917 0.0189861 0.1378777 8 140267889 G A 0.0391212 -0.022668800000000003 -0.026091 5 156686040 C T -0.0164153 0.0582531 0.017068200000000002
System information
nextflow version 23.10.0