I don't have a background in biology, but is trying to learn more about genetics; I have watched many videos about SNPs and still feel confused about the concept of a single nucleotide polymorphism. According to wikipedia, a SNP "is a germline substitution of a single nucleotide at a specific position in the genome". What I am most puzzled by is the concept of a 'specific position in the genome', if chromosome lengths differ, how can we talk of a 'specific position'?
For example, if we have two arrays of items that are of the same length:[A,C,C,C,A,T,G] and [A,C,G,C,A,T,G] then it is straightforward to that the entries at the third position of each array are different. But with chromosomes, their lengths differ, so it might look like: [A,C,C,C,A,T,G] and [A,C,C,C,A,A,T,G], now how can we say what corresponds to what? Do we say there is a SNP at the fifth/sixth base pair?
What about something more different like [A,C,C,C,A,A,T,G] and [C,C,A,A]? How do we know what corresponds to what? What are the SNPs?
What if two individuals each has a chromosome 1 that differ by many base pairs, how do we know what corresponds to what?