[ensembl-dev] MarkerAdaptor

Will Chow wc2 at sanger.ac.uk
Fri Feb 28 16:00:08 GMT 2014


Hi Dev'ers,

I'm trying to store some Marker data in to a ensembl schema database using the API.

I've created the marker features as per.
 $marker = Bio::EnsEMBL::Map::Marker->new
                            (undef, undef,
                 $left_primer, $right_primer, 400,
                 80, $ms1, [$ms1, $ms2], [$mloc1, $mloc2]);
added the marker synonyms and marker_map_locations (e.g. ms & msloc);

then i guess would use the marker_adaptor->store($marker);

however looking at the MarkerAdaptor.pm code for the store call, Line 405

    403     # Loop through all MapLocations and store if needed
    404     foreach my $loc( @{$marker->get_all_MapLocations} ){
    405       # Dunno how to implement this :( Just bomb out
    406       $self->throw( 'Storing of MapLocation objects is not yet implemented' )
    407     }

Does this mean the MapLocations which I've linked to the marker feature won't be stored? Has anyone used the API to store marker data?

Or maybe its just friday, and I've stared at the code for too long this week.


thanks,

Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20140228/00fb0205/attachment.html>


More information about the Dev mailing list