BGI-shenzhen / LDBlockShow

LDBlockShow: a fast and convenient tool for visualizing linkage disequilibrium and haplotype blocks based on VCF files
MIT License
136 stars 40 forks source link

chromosome region can't be found in the input dataset #34

Closed TZM9882 closed 1 year ago

TZM9882 commented 1 year ago

Dear developer,

I am new to using packages and tools.

First of all, thank you for this tool. It looks simple. But, I couldn't get any expected outputs after trying many attempts as much as I could. When I used test files from Example folder, I can get as recommended. But with my file, always showed the following message in that attached image.

Please check and help me with this problem.

thanks,

Screenshot 2023-06-26 at 11 36 14

hewm2008 commented 1 year ago

you can see more help (SNP filter parameters) by follow command: ./bin/LDBlockShow -h The xx SNPs after filtering as follows "-MAF 0.05 -Het 0.90 -Miss 0.25" remain 0 SNPs . you can modify these three parameters according to your own situation.

Other info : A :The soft will skip non bi-allelic(Singleton/ThreeMulti allelic) site and indel site (For bi-allelic indel, you can modify the "REF ALT" to only one base. see the Perl script at the end of this conversation B: I guess it is caused by the wrong region of ​​your input. Someone often make mistakes in the upper or lower characters of chr name [chr6/ Chr6 / 6/], please make sure that the chr name you input is consistent with vcf input file ,If the chr name is the same, you can enlarge the region ,so that there is a certain amount of snp in this region.

TZM9882 commented 1 year ago

the problem was caused by B. (chromosome name, it was coded by "6") thank you for your quick suggestion.