<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000066">
    <div class="moz-cite-prefix">Awesome ! <br>
      <br>
      Thank you.<br>
      <br>
      On 04/26/13 11:29, Will McLaren wrote:<br>
    </div>
    <blockquote
cite="mid:CAMVEDX1oSOdnq9+mzVEMC7r81fUhjraWY1aA5fsL3oGV9q_oig@mail.gmail.com"
      type="cite">
      <pre wrap="">Yes, you just need to add multiple key/value pairs to your return hash:

return {
  key1 => $value1,
  key2 => $value2,
  key3 => $value3
};

etc

or you can construct the hash first and return a reference to it:

my %return = (
  key1 => $value1,
  key2 => $value2,
  key3 => $value3
);

return \%return;

Regards

Will

On 26 April 2013 10:23, Guillermo Marco Puche
<a class="moz-txt-link-rfc2396E" href="mailto:guillermo.marco@sistemasgenomicos.com"><guillermo.marco@sistemasgenomicos.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

Is it possible to return multiple vars for one single VEP plugin?

Imagine a plugin calculates $var1,$var2,$var3

I want to add them as three different columns to VEP output:
VAR1    VAR2    VAR3

Is it possible to do that with multiple returns and --fields flag?


Thank you.

Best regards,
Guillermo.

_______________________________________________
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>
      <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>
  </body>
</html>