Get proper link to Mutation Overview webpages in COSMIC
2
0
Entering edit mode
17 months ago
bt_cepo ▴ 40

Hi everyone,

I have a VCF annotated using COSMIC database VCFs where the ID column is now the COSV identifier for each variant and I also have the LEGACY ID in the INFO column.

My question is, using either identifier (COSV or LEGACY) how can I create a link to the Overview webpage for each variant?

I want a link to this kind of page like this one: https://cancer.sanger.ac.uk/cosmic/mutation/overview?id=102937469

The CosmicCodingMuts.normal.vcf.gz from COSMIC says

##comment="URL stub for ID field (use the whole COSV identifier)='https://cancer.sanger.ac.uk/cosmic/search?genome=37&q='"

But using https://cancer.sanger.ac.uk/cosmic/search?genome=37&q=COSV55497419 does not directly link to the Overview page.

Is it possible to obtain the link to the Overview page in any automated way?

Thanks!!

variants COSMIC cancer • 1.2k views
ADD COMMENT
2
Entering edit mode
17 months ago
bt_cepo ▴ 40

So for everyone who encounters this same issue, I contacted COSMIC and they provided a way to access the Overview page:

"https://cancer.sanger.ac.uk/cosmic/search?genome=37&q="

(just add the COSM id of your variant of interest at the end of the link, also note that this works only for GRCh37 coordinates)

So now https://cancer.sanger.ac.uk/cosmic/search?genome=37&q=COSM520 redirects straight to the Overview page of the variant.

However, please take into consideration that the Overview page is for transcript level annotations and there are cases where the COSV id (identifier at the genomic level) can refer to multiple legacy COSM ids at the transcript level. So depending on what you are interested to show it might be more appropriate to use the link of the original post to display all transcripts associated to the genomic mutation position. In my case I wanted a link to the specific variants found in my VCF.

ADD COMMENT
0
Entering edit mode
17 months ago
Ram 44k

I was in touch with COSMIC a couple of years ago about this exact issue and they said they'd make a way to link to entries directly - have they not implemented this yet? I had to point to a search page that showed results like the one you show in your post. It might be the only way for now, as you'll need to implement a complex logic involving canonical transcripts and their ENST IDs if you wish to go directly to the overview page.

You may want to check the VCF and TSV downloads for the identifier "24045458" which will take you directly to the overview page for COSV55497419/ The co-ordinates you use - GRCh37/38 - may also affect the chances of getting a direct link. If it's in there, you're in luck.

ADD COMMENT

Login before adding your answer.

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