I have translated a complete genome in the six frames then I got a start and stop position for a gene on this translated genome.
Now I need to compare these coordinates to nucleotide positions:
if I am in same positive strand what I thought of is:
if frame 1: nuc_start=prot_start*3
if frame 2: nuc_start=prot_start*3+1
if frame 3 nuc_start =prot_start*3+2
Question: Am I right? And what about the other strand frames?
Yes I translated the reverse complement for the other strand frames, I couldn't figure out how the frame -3 is dealt same as +1 and vice versa
The "also" was incorrect in that sentence. Just calculate the position as if you were on the + strand and the subtract that from one more then the chromosome/contig length.