Hi Hiram,
I think I got it wrong: instead of adding a line of 50 N's, you need to
delete the first line of 50 N's from chr10.fa, in order to match the
result from using Blat tool.
This is what I did:
1) at this page:
http://genome.ucsc.edu/cgi-bin/hgBlat?hgsid=312903247&command=start
Blat sequence within mm9:
GCAGTGAGGAGAGCTTTTCTACTTTATTACAAAGAGAAGAAGCCTTTATG
TGGTCAGAAAATACAAGATTGATCTTTTTCTCTTCCTATGAAACGCTGCT
GTTCAAACAGCCAGAGTGAATTGTCTCAGTTCACGTCTTGAAGCCCCATC
ACATTCACTTGGGTATGGATGTCCTTGGCTGCTGAAAATCTGGCCCTTTA
You will get start position as 115922217 on chr10.
2) With my custom software when I am looking for this sequence within
file chr10.fa.gz downloaded from this page:
http://hgdownload.cse.ucsc.edu/goldenPath/mm9/chromosomes/
I got start position as 115922267, which was offset by 50 bp.
3) When I delete the first line of 50 N's from chr10.fa and run my
custom program to look for this sequence, it gave me the right position:
115922217.
If you have your own program, you can try to look for this sequence
within chr10.fa to find the position by yourself. Otherwise I can
provide you with my tools to do this.
I am not using Kent Source Utilities. You can try it yourself. But some
kent utilities had N's removed, so take that into account when you are
doing so.
Let me know if it is not clear to you.
Cheng