Hello,
I need to plot Lolliplots, trackviewer for a selected gene.
I am a principiant Rstudio user. I want to create a lolliplot that shows pathogenic and probably pathogenic variants in APC gene, which are described in ensembl database. I want to export this file in BED format, but I can not download only these types of mutations (I can download all mutations, including benign variants, but I can not filter it).
Can someone help me to download and load these files in Rstudio?
Thank you so much,
VĂctor.
When you say "pathogenic" do you mean actually pathogenic in the clinical sense? That is, annotated by ClinVar based on the observation of the variant in connection with a clinical phenotype? Or do you mean predicted to be pathogenic based on loss-of-function of the gene?
Hi again, I am referring to pathogenic variants in the clinical sense. Thank you so much!
Two options, use the table as genomax suggests and filter to show only pathogenic variants. Click Filter other columns -> Clinical significance -> choose all that are relevant to you then download the table.
Alternatively, you can use BioMart. Use the short variation database, filter by the gene ID and clinical significance, then get whatever you like as attributes. This may be the easiest way to get what you need in BED format as you can choose which columns you get in your output yourself.