<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">cheers magali for the help.<div><br></div><div>have a good weekend.</div><div><br></div><div>Will<br><div><div>On 28 Feb 2014, at 16:04, mag <<a href="mailto:mr6@ebi.ac.uk">mr6@ebi.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
Hi Will,<br>
<br>
The markers currently stored in the core databases are being loaded
using the scripts in<br>
ensembl-analysis/scripts/markers<br>
This does not use the API.<br>
<br>
<br>
Regards,<br>
Magali<br>
<br>
<div class="moz-cite-prefix">On 28/02/2014 16:00, Will Chow wrote:<br>
</div>
<blockquote cite="mid:815E2D71-DCD5-4CBB-820B-BB46979D7E95@sanger.ac.uk" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hi Dev'ers,
<div><br>
</div>
<div>I'm trying to store some Marker data in to a ensembl schema
database using the API.</div>
<div><br>
</div>
<div>I've created the marker features as per.</div>
<div>
<pre class="fragment"><font face="Courier New"> $marker = Bio::EnsEMBL::<a class="moz-txt-link-freetext" href="map::Marker">Map::Marker</a>->new
(undef, undef,
$left_primer, $right_primer, 400,
80, $ms1, [$ms1, $ms2], [$mloc1, $mloc2]);</font></pre>
<div>added the marker synonyms and marker_map_locations (e.g. ms
& msloc);</div>
</div>
<div><br>
</div>
<div>then i guess would use the <font face="Courier New">marker_adaptor->store($marker);</font></div>
<div><br>
</div>
<div>however looking at the MarkerAdaptor.pm code for the store
call, Line 405</div>
<div><font face="Courier New"><br>
</font></div>
<div>
<div><font face="Courier New"> 403 # Loop through all
MapLocations and store if needed</font></div>
<div><font face="Courier New"> 404 foreach my $loc(
@{$marker->get_all_MapLocations} ){</font></div>
<div><font face="Courier New"> 405 # <font color="#e32400">Dunno how to implement this :( Just bomb
out</font></font></div>
<div><font face="Courier New"> 406 $self->throw(
'Storing of MapLocation objects is not yet implemented' )</font></div>
<div><font face="Courier New"> 407 }</font></div>
</div>
<div><font face="Courier New"><br>
</font></div>
<div>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?</div>
<div><br>
</div>
<div>Or maybe its just friday, and I've stared at the code for too
long this week.</div>
<div><br>
</div>
<div><br>
</div>
<div>thanks,</div>
<div><br>
</div>
<div>Will</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dev mailing list <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>Dev mailing list <a href="mailto:Dev@ensembl.org">Dev@ensembl.org</a><br>Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a><br>Ensembl Blog: <a href="http://www.ensembl.info/">http://www.ensembl.info/</a><br></blockquote></div><br></div></body></html>