Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#mismatching-snps #28

Open
DM087 opened this issue Nov 19, 2021 · 9 comments
Open

#mismatching-snps #28

DM087 opened this issue Nov 19, 2021 · 9 comments

Comments

@DM087
Copy link

DM087 commented Nov 19, 2021

Hi Sam,

I am following your plink PRS tutorial and I have a couple of questions re mismatching-snps section https://choishingwan.github.io/PRS-Tutorial/target/#mismatching-snps .

  1. You say in the 'Note' section that 'Most PRS software will perform strand-flipping automatically, thus this step is usually not required.' I am trying to use plink --score and was wondering about running this step. Do you know if plink takes care of strand-flipping when using --score ?
  2. Should I be changing anything in the cases where SNP1 in the base data is A/C, and C/A in the target dataset? Do I need to change the .bim file in this case (or the effect allele in base data)?

Thank you for your help.

@choishingwan
Copy link
Owner

choishingwan commented Nov 19, 2021 via email

@DM087
Copy link
Author

DM087 commented Nov 19, 2021

Thank you for the prompt reply. Much appreciated!
Regarding my 2nd question: what about A/C in base data and C/A in target data? Do I have to change the .bim file or change the effect allele and reverse the sign of beta so that both sets have A/C? How do you deal with it ?

Thank you.

@choishingwan
Copy link
Owner

choishingwan commented Nov 19, 2021 via email

@DM087
Copy link
Author

DM087 commented Nov 19, 2021

Thanks Sam! Have a nice weekend!

@DM087 DM087 closed this as completed Nov 19, 2021
@DM087
Copy link
Author

DM087 commented Jul 14, 2022

I am still not clear about it. My question is this. Would you reverse the sign of beta given the following

A1 in base GWAS summary statistics file is the same as A2 in target GWAS data?

Thanks

@DM087 DM087 reopened this Jul 14, 2022
@choishingwan
Copy link
Owner

choishingwan commented Jul 14, 2022 via email

@DM087
Copy link
Author

DM087 commented Jul 14, 2022

Thanks Sam. Sorry, I did not make it clear that I am talking about --score in plink. Does it mean that I will have to reverse the sign of beta in this case? Thanks

@DM087
Copy link
Author

DM087 commented Jul 18, 2022

@choishingwan any thoughts? thanks

@choishingwan
Copy link
Owner

choishingwan commented Jul 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants