This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Mapping genomic coordinates to protein-relative coordinates

How to translate mutations in genome/exome to string of amino acid, with amino acid resulting from the mutation centrally situated.

rna-seq r snp sequence gene

1 answer

You are looking for six frame translation and you can use translate function in R. Here you can find example.

I am going to guess that OP is looking for something more specific. Like Ve!P/snpEff but with more sequence padded to both sides of changed AA (which both will show).

The function can translate DNA to Protein sequence, but I am looking for a translation which will think about the location of DNA sequence.

Not exactly sure what you are saying here. Are you referring to frame of translation?

like this function, but I want to find hg38 other than ensembl version annotation.

Log in to answer this question.