Entering edit mode
8.2 years ago
ebrudermanver
▴
100
When I run below command to subset the SNPs on a very wide range on chromosome 1, I get "Could not place marker for left window edge" error from PLINK.
plink --bfile mydata --chr 1 --from-kb 1000 --to-kb 200000
I read some other posts on Biostars asking the same question, and the responses are telling there may not be any SNPs in the specified range. However, the range I am specifying is too wide, and my prior information tells me that there should be many SNPs on that wide range on the largest chromosome 1.
Here is the PLINK output:
Reading map (extended format) from [ mydata.bim ]
7347235 markers to be included from [ mydata.bim ]
ERROR: Could not place marker for left window edge
I keep getting the same error when I use 1 or 10 instead of 1000 as the "from" kb.
I am completely stuck. Any help is welcome!
Do you get the same problem with plink 1.9?
Sorry, the problem was about my .bim file, the chromosome numbers in the first column were all 0, that's why PLINK could not locate the chromosome 1 and gave error.