Getting genomic regions by local coordinates (protein/transcript)
1
0
Entering edit mode
5.7 years ago

What is the easiest way to transform local coordinates on a protein/transcript to genomic coordinates (given accession number)?

python ucsc cruzdb • 2.1k views
ADD COMMENT
1
Entering edit mode

Maybe something like that will be helpful?

Mapping between genome, transcript and protein coordinates

https://bioconductor.org/packages/devel/bioc/vignettes/ensembldb/inst/doc/coordinate-mapping.html

ADD REPLY
0
Entering edit mode

It can, but do you know if it is possible to switch automatically to different organism/assemblies? It seems like the same problem here as with cruzdb - you can easily do it if you know the organism and assembly, but if you have only blast record - can you generate a url for reference?

ADD REPLY
0
Entering edit mode

Please paste what you have, currently, and what you would like it to be. You have python, cruzdb, and ucsc as tags - please elaborate why.

CruzDB: https://github.com/brentp/cruzdb

Calling brentp

ADD REPLY
0
Entering edit mode

1) I've made tblast of a certain protein and have a list of alignments of my reference protein. 2) With accession numbers of these proteins i've download the coding sequences for them (through biopythons functions to get genbank format through accessions) and aligned them instead of proteins. 3) Knowing (through cruzdb) the annotation of these transcripts i can extract exons coordinates and find any region of interest inside transcript alignments, but i'm interested in finding the corresponding regions inside their genomes.

So my questions is actually twofold: first, is it possible to obtain genome regions through blast hits automatically? second one is about cruzdb functionality: I can download any genome region if a have a url:

twoBitToFa http://hgdownload.soe.ucsc.edu/goldenPath/mm10/bigZips/mm10.2bit -bed=input.bed stdout

But can i transform programmatically an accession number into a link to reference genome?

ADD REPLY
0
Entering edit mode

Maybe https://mutalyzer.nl/position-converter if we talk about human?

ADD REPLY
0
Entering edit mode

unfortunately, we are talking about fruit fly dm3 and also i need a command line tool - a web server would be hard to implement in a pipeline

ADD REPLY
2
Entering edit mode
5.7 years ago
Emily 23k

The mapping endpoints of the Ensembl REST API can convert coordinates in this way.

ADD COMMENT
0
Entering edit mode

Thank you, yes, that can answer my problems. But does ensemble has drosophila melanogaster assemble version 3, instead of 5 and 6? I am working with this assembly and using a liftover as an extra step would be a complication toa pipeline

ADD REPLY

Login before adding your answer.

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