[ensembl-dev] VEP Plugin return multiple values
Guillermo Marco Puche
guillermo.marco at sistemasgenomicos.com
Fri Apr 26 10:30:30 BST 2013
Awesome !
Thank you.
On 04/26/13 11:29, Will McLaren wrote:
> 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
> <guillermo.marco at sistemasgenomicos.com> wrote:
>> 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 Dev at ensembl.org
>> Posting guidelines and subscribe/unsubscribe info:
>> http://lists.ensembl.org/mailman/listinfo/dev
>> Ensembl Blog: http://www.ensembl.info/
>>
> _______________________________________________
> Dev mailing list Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20130426/a03b61a7/attachment.html>
More information about the Dev
mailing list