Does anyone know of existing Python code that given a nucleotide substitution will tell you whether or not that mutation is synonymous/non-synonymous? Ideally, I would give this function a GFF file along with the substitutions(s) and it would give me back the amino acid changes, but I'll take anything that's sort of along these lines. Also, I realize this is relatively straightforward to code myself, but I figured I'd ask before I reinvented the wheel. Thanks in advance.
-Matt
Have you looked at BioPython? This should be somewhere close to a 1-liner.
My first thought about this problem exactly. I'm not a BioPython expert, but after digging around the tutorial, manual, and googling, I couldn't find anything.
I overread the GFF part. This would be more complicated as it is currently not supported natively (as Brad told me today).