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

Error in .InitFile2 #108

Open
Tom159357 opened this issue May 13, 2024 · 1 comment
Open

Error in .InitFile2 #108

Tom159357 opened this issue May 13, 2024 · 1 comment

Comments

@Tom159357
Copy link

Dear Xiuwen Zhen
I encountered an issue when using. gds files to construct trees:
nohup: 忽略输入
载入需要的程辑包:gdsfmt
SNPRelate -- supported by Streaming SIMD Extensions 2 (SSE2)
[1] "Directory is created successfully!"
Individual dissimilarity analysis on genotypes:
Excluding 1,688,519 SNPs on non-autosomes
Error in .InitFile2(cmd = "Individual dissimilarity analysis on genotypes:", :
There is no SNP!
Calls: snpgdsDiss -> .InitFile2
停止执行
How should I solve it?by the way,my code is:
20240513212734

Thank you very much!!!

@Tom159357
Copy link
Author

Today I found the solution. Change the name of the input chromosome to something like 1、2、3, and add an ID (similar to 1_259,chromosome 1 and position 259). I'm not sure if the ID needs to be changed, but the chromosome name must be changed, and adding the ID won't be wrong either

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

1 participant