Finding Non-Synonymous Mutations
2
2
Entering edit mode
13.0 years ago
Matt ▴ 40

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

python mutation non • 7.0k views
ADD COMMENT
1
Entering edit mode

Have you looked at BioPython? This should be somewhere close to a 1-liner.

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

I overread the GFF part. This would be more complicated as it is currently not supported natively (as Brad told me today).

ADD REPLY
2
Entering edit mode
13.0 years ago
Matt ▴ 40

Finally found this program:

http://snpeff.sourceforge.net/

Granted, it's not a Python module/function as specified in the question, but it will suit my needs as it'll be easier to run this through my current Python script and simply parse the output than to actually implement the mutation classification. Would be nicer to have a completely python solution if anyone knows of any, but in case anyone else runs into this issue, hope this link helps.

ADD COMMENT
0
Entering edit mode
2.3 years ago
Dede • 0

Did you figure out how to know the synonymous vs nonsynonymous from vcf/gff files? I really want to know how?

ADD COMMENT

Login before adding your answer.

Traffic: 2409 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6