<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      Dear Magali, Dear Will,<br>
      <br>
      Thanks for your reply. Sorry I didn't see that Chromosome 21 make
      no sense for pig. The question rose up since in testing VEP
      endpoint I saw this error while the same query was successful
      (with no error and no results) on your previous version of REST
      server.<br>
      <br>
      I think I will test my functions with appropriate data.<br>
      <br>
      Thank you for you support,<br>
      <br>
      regards,<br>
      <br>
      Paolo.<br>
      <br>
      <br>
      <br>
      Il 09/12/2014 17.05, Will McLaren ha scritto:<br>
    </div>
    <blockquote
cite="mid:CAMVEDX0+dSO=iB6=zEkdxZNckSde=ySN4w5rbXnTg5Xr_j7h0g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Paolo,
        <div><br>
        </div>
        <div>The current Pig assembly does not have a chromosome 21:</div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
            href="http://www.ensembl.org/Sus_scrofa/Location/Genome">http://www.ensembl.org/Sus_scrofa/Location/Genome</a><br>
        </div>
        <div><br>
        </div>
        <div>Of course, the error message you are seeing is not
          especially helpful; we will look into a fix for this.</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
        </div>
        <div>Will McLaren<br>
          Ensembl Variation</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 5 December 2014 at 14:21, Paolo
          Cozzi <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:paolo.cozzi@itb.cnr.it" target="_blank">paolo.cozzi@itb.cnr.it</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
            Dear all,<br>
            <br>
            Using the new release of REST - VEP endpoint, I got a 400
            error code for pig. More precisely, this is the command line
            I used:<br>
            <br>
            $ curl -H "content-type:application/json" -H
            "accept:application/json" --data '{ "variants" : ["<a
              moz-do-not-send="true" href="tel:21%2026960070"
              value="+12126960070" target="_blank">21 26960070</a>
            rs116645811 G A . . .", "<a moz-do-not-send="true"
              href="tel:21%2026965148" value="+12126965148"
              target="_blank">21 26965148</a> rs1135638 G A . . ." ] }'
            <a moz-do-not-send="true"
              href="http://rest.ensembl.org/vep/pig/region"
              target="_blank">http://rest.ensembl.org/vep/pig/region</a>
            --verbose<br>
            <br>
            And this is the result:<br>
            <br>
            * About to connect() to <a moz-do-not-send="true"
              href="http://rest.ensembl.org" target="_blank">rest.ensembl.org</a>
            port 80 (#0)<br>
            *   Trying 193.62.52.232... connected<br>
            * Connected to <a moz-do-not-send="true"
              href="http://rest.ensembl.org" target="_blank">rest.ensembl.org</a>
            (193.62.52.232) port 80 (#0)<br>
            > POST /vep/pig/region HTTP/1.1<br>
            > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu)
            libcurl/7.19.7 NSS/<a moz-do-not-send="true"
              href="http://3.14.0.0" target="_blank">3.14.0.0</a>
            zlib/1.2.3 libidn/1.18 libssh2/1.4.2<br>
            > Host: <a moz-do-not-send="true"
              href="http://rest.ensembl.org" target="_blank">rest.ensembl.org</a><br>
            > content-type:application/json<br>
            > accept:application/json<br>
            > Content-Length: 90<br>
            ><br>
            < HTTP/1.1 400 Bad Request<br>
            < Vary: Content-Type<br>
            < Content-Length: 168<br>
            < Content-Type: application/json<br>
            < X-Runtime: 0.141490<br>
            < X-RateLimit-Limit: 55000<br>
            < X-RateLimit-Reset: 2961<br>
            < X-RateLimit-Period: 3600<br>
            < X-RateLimit-Remaining: 54997<br>
            < Date: Fri, 05 Dec 2014 14:10:39 GMT<br>
            < Connection: close<br>
            <<br>
            * Closing connection #0<br>
            {"error":"Can't call method \"seq_region_Slice\" on an
            undefined value at /home/ensadmin/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/Utils/VEP.pm
            line 4223.\n"}<br>
            <br>
            Thank you for your support,<br>
            <br>
            Regards,<br>
            <br>
            Paolo<br>
            <br>
            <br>
            _______________________________________________<br>
            Dev mailing list    <a moz-do-not-send="true"
              href="mailto:Dev@ensembl.org" target="_blank">Dev@ensembl.org</a><br>
            Posting guidelines and subscribe/unsubscribe info: <a
              moz-do-not-send="true"
              href="http://lists.ensembl.org/mailman/listinfo/dev"
              target="_blank">http://lists.ensembl.org/mailman/listinfo/dev</a><br>
            Ensembl Blog: <a moz-do-not-send="true"
              href="http://www.ensembl.info/" target="_blank">http://www.ensembl.info/</a><br>
          </blockquote>
        </div>
        <br>
      </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>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                Questa e-mail è stata controllata per individuare virus con Avast antivirus.
                                <br><a href="http://www.avast.com/">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>