Unable to liftover my scoring file to GRCh37 #403
-
Hi, I've been using pgsc_calc for my research, and have been getting low match rates until I realised my scoring file and genomic data are of different genome builds (GRCh38 and GRCh37 respectively). I've been trying to use the --liftover parameter along with the hg38_chain parameter with the chain file being from hg38tohg19.over.chain.gz. But when I run the flow, I get an error: ERROR: Missing --hg19_chain or --hg38_chain with --liftover. I'm not sure what to do, because my scoring file is from PGS Catalog in GRCh38 build and I want to convert it to GRCh37. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
If you're using scoring files from the PGS Catalog that you set with the
When you set If you're experiencing low match rates with the correct genome build the most likely problem is that you're using a SNP array that hasn't been imputed or you're using WGS data. |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for clarifying! I'm trying to using the imputed genotypes now, but the available file formats are |
Beta Was this translation helpful? Give feedback.
If you're using scoring files from the PGS Catalog that you set with the
--pgs_id
,--pgp_id
, or--trait_efo
parameters you don't need to enable liftover. Thepgscatalog-download
application will automatically fetch scoring files in the correct genome build.--liftover
is for custom scoring files only, that are set with the--scorefiles
parameter. This can be helpful if you developed a PGS that isn't in the Catalog and want to test its performance in new target genomes with different genome builds.When you set
--liftover
you have to set both--hg19_chain
and--hg38_chain
parameters, which is what causes your error message.If you're experiencing low match rates with the correct genome bui…