Confirm if a genome position falls into a coding exon
1
0
Entering edit mode
8 months ago
Lila M ★ 1.3k

Good morning,

I do have few human positions of interest and I want to check if they fall inside a coding exon. I know genome browser (https://genome.ucsc.edu/cgi-bin/hgGateway) is very useful for visualization, but I am more interesting in identify different overlaps. \Would it be possible to download it from somewhere? Thank you!

exon UCSC coding • 488 views
ADD COMMENT
0
Entering edit mode

Something along these lines: intersect snp and exon coordinates

ADD REPLY
0
Entering edit mode
8 months ago

get a gtf, convert to bed, sort and merge with bcftools merge. e.g: awk -F '\t' '($3=="exon") {printf("%s\t%d\t%d\n",$1,int($4)-1,$5);}' in.gtf

put your position(s) in a bed and sort

use bedtools intersect.

ADD COMMENT
0
Entering edit mode

Thanks both. Will be $3=="exon" enough to select only the 'coding' exons (and to exclude any non-coding exon)?

ADD REPLY
0
Entering edit mode

$3=="CDS"

?

ADD REPLY

Login before adding your answer.

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