[ensembl-dev] retrieval of cosmic variant

Stef van Lieshout mailsvl at fastmail.fm
Wed Nov 16 14:51:16 GMT 2011


Hi,

I've been looking for this some time ago as well...but haven't found a
clear answer yet.

I want to find out whether a certain variation exists in COSMIC. For
this I can use the "fetch_Iterator_somatic": retrieving all, storing
them, and check for each of my variants whether this one is present in
the stored cosmic variants. But this isn't very efficient.

Isn't there a method I can use to directly check for a variationFeature
object if it is associated with a COSMIC id? When I retrieve all
variations for a 1 bp slice, I only seem to find CM##### ids (besides
rs###### ids) which do not seem to relate to the COSMIC "COSM#####"
ids...?

Thanks,
Stef




More information about the Dev mailing list