How to get SNP annotation with 3-letter amino acid abbreviation?
3
1
Entering edit mode
6.5 years ago

Dear all,

Now we used ANNOVAR to annotate our SNP detected. But the result of ANNOVAR is the single-letter Amino acid abbreviation. It's like this: menu_saveimg_savepath20180521134604

The results I want is like this: menu_saveimg_savepath20180521134855

So does anyone knows that which annotation software can feed back this 3-letter amino acid abbreviation? Thanks in advance.

Best wishes,

SNP annotation • 2.8k views
ADD COMMENT
0
Entering edit mode

Hello jinxinhao1988,

could you please post/upload an example output file from ANNOVAR so that we can play around with it (An image is quite hard to parse ;) ).

One solution will be to take your language of choice, that can read in your file line-by-line, split it into columns and replace the letters in the HGVS p. column.

fin swimmer

ADD REPLY
5
Entering edit mode
6.5 years ago

Hello,

assuming that the annovar output file is a tab separated file, here is a python script. Save it as one2three.py and run it like this:

$ python one2three.py annovar.csv > annovar_fixed.csv

fin swimmer

ADD COMMENT
0
Entering edit mode

Thank you fin. I will try and feed you results.

ADD REPLY
0
Entering edit mode

Hello,fin, Thank you for your script, It worked for my results.

ADD REPLY
0
Entering edit mode

You're very welcome.

Than please mark my answer as accpeted. So one can see that your problem is solved.

fin swimmer

ADD REPLY
0
Entering edit mode

Thank you.@finswimmer

ADD REPLY
1
Entering edit mode
6.5 years ago

update:

Actually snpEff can feed back 3-letter Amino acid abbreviation. And the results are quite good.

ADD COMMENT
1
Entering edit mode
6.5 years ago
NB ▴ 960

Variant Effect Predictor should be able to give you the 3-letter amino acid abbv as the output.

ADD COMMENT

Login before adding your answer.

Traffic: 2604 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