To look for: Sometimes, chromosome names are outputted without "chr" prefix, as numbers only. The aforementioned solution will result in ignoring all lines in the .BED file - one should catch it with a message "BED file problem. Check if you have tab-separated chrom, chromStart, chromEnd genomic coordinates, e.g. chrX tab 1234 tab 5678"
https://www.ncbi.nlm.nih.gov/projects/SNP/dbSNP.cgi?list=rslist adds header to the bed file, like “track name=…” Make GR more foolproof against such situations. Potential solution: check if the lines are starting with "chr", if not, ignore.
To look for: Sometimes, chromosome names are outputted without "chr" prefix, as numbers only. The aforementioned solution will result in ignoring all lines in the .BED file - one should catch it with a message "BED file problem. Check if you have tab-separated chrom, chromStart, chromEnd genomic coordinates, e.g. chrX tab 1234 tab 5678"