-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error: --score variant ID '2:168745247:A:AT' appears multiple times in main dataset. #74
Comments
Hello, Thanks for reporting the issue. It looks like when your VCF is converted into plink2 format, multiple variants have the same ID. This will cause a plink error when calculating a score. One way to fix this is to edit a configuration file
To:
This will deduplicate your variants when your VCF is recoded as a plink2 file. This should fix your error but you will lose some variants from the original VCF. You might want to check the plink documentation for other strategies.
Please let me know if you have any problems or questions. |
@nebfield Thank you. The error is solved but I got another error: |
That's an error I've never seen before 😅 Some extra plink parameters may help:
I picked 254 based on your error message. If you want to remove multi-allelic variants you can set |
@nebfield Thanks for your reply. I already tried that. The executed command by default has
The error:
|
Sorry, I forgot that flag was already included. It might be best to filter very complex multiallelic variants from your VCF using bcftools and using the filtered VCF as input to |
@nebfield Hello, |
I got this error in the PLINK2_SCORE process. Here is the command log:
The text was updated successfully, but these errors were encountered: