<div dir="ltr">Hello Sebastien,<div><br></div><div>Thanks for the detailed report.</div><div><br></div><div style>I think the problem may be caused by using an older version of the API. The latest version of the script (2.7) should be used with version 69 of the Ensembl API.</div>
<div style><br></div><div style>If you need to use version 66 of the API (for example if you are unable to upgrade the database you are using), you should use the appropriate script version with this. You can see which versions go together here:</div>
<div style><br></div><div style><a href="http://www.ensembl.org/info/docs/variation/vep/vep_script.html#download">http://www.ensembl.org/info/docs/variation/vep/vep_script.html#download</a><br></div><div style><br></div><div style>
As an aside, you may find that the latest version of the VEP gives you everything you need in the cache files available from us without having to use a local database. However, of course if you are using a local database for custom annotations, you should continue to do so.</div>
<div style><br></div><div style>Regards</div><div style><br></div><div style>Will McLaren</div><div style>Ensembl Variation</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 January 2013 11:59, Sebastian Ginzel <span dir="ltr"><<a href="mailto:sginze2s@inf.h-brs.de" target="_blank">sginze2s@inf.h-brs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Ensembl-Developer Team,<br>
<br>
I want to use the Variant Effect Predictor standalone script to annotate my VCF file for further processing and I need the variants to have Ensembl Gene IDs.<br>
<br>
Unfortunatly the --gene option is not working and results in this error message:<br>
<br>
Unknown option: gene<br>
ERROR: Failed to parse command-line flags<br>
<br>
Without the --gene option everything runs through perfectly, but no Ensembl Gene IDs show up in the output although the documentation avaiable at <a href="http://www.ensembl.org/info/docs/variation/vep/vep_script.html#output" target="_blank">http://www.ensembl.org/info/<u></u>docs/variation/vep/vep_script.<u></u>html#output</a> suggests that the output of ENSG IDs is forced when using the --cache option (which I also use). A quick check of the source code of the <a href="http://variant_effect_predictor.pl" target="_blank">variant_effect_predictor.pl</a> script showed me, that the --gene option seems not to be implemented anymore.<br>

<br>
I saw that there was somebody mentioning the removal of the --gene option in the mailing list archives following a thread that started on 5th December 2012 09:12:48. But it doesn't mention anything like my problem.<br>

<br>
That leaves me with two questions:<br>
<br>
1) What happend to the --gene option and can anyone reproduce this?<br>
2) How can I force the population of the Ensembl Gene ID column when --cache is also not working?<br>
<br>
<br>
Best wishes,<br>
Sebastian Ginzel<br>
<br>
PS: Here is what I did to setup VEP on my Ubuntu 12.04 system with perl v5.14.2.<br>
<br>
I downloaded and setup the latest VEP version 2.7 (<a href="http://cvs.sanger.ac.uk/cgi-bin/viewvc.cgi/ensembl-tools/scripts/variant_effect_predictor.tar.gz?view=tar&root=ensembl&pathrev=branch-ensembl-69" target="_blank">http://cvs.sanger.ac.uk/cgi-<u></u>bin/viewvc.cgi/ensembl-tools/<u></u>scripts/variant_effect_<u></u>predictor.tar.gz?view=tar&<u></u>root=ensembl&pathrev=branch-<u></u>ensembl-69</a> - MD5Sum ab780dcb0267e5872f85ebe2ff4837<u></u>f5)<br>

<br>
"perl variant_effect_predictor.pls --help" shows me that I actually use the 2.7 version.<br>
<br>
I also downloaded some plugins through GIT using:<br>
git clone "<a href="https://github.com/ensembl-variation/VEP_plugins" target="_blank">https://github.com/ensembl-<u></u>variation/VEP_plugins</a>"<br>
<br>
I used this command line to call the script:<br>
<br>
perl /home/sginze2s/vep/lib/vep/<u></u>bin/variant_effect_predictor/<a href="http://variant_effect_predictor.pl" target="_blank">v<u></u>ariant_effect_predictor.pl</a> -i /home/sginze2s/vep/lib/vep/<u></u>sample1.vcf -o /tmp/bla.vcf --cache --dir /home/sginze2s/vep/lib/vep/<u></u>bin/cache --prefetch --no_adaptor_cache --write_cache --strip  --everything --gmaf --xref_refseq --failed 1  --fork 4 --vcf --format vcf --no_progress --check_existing --check_svs --plugin Condel,/home/sginze2s/vep/lib/<u></u>vep/bin/cache/Plugins/config/<u></u>Condel/config --plugin Blosum62 --plugin Downstream --species homo_sapiens --db_version=66 --host <a href="http://bio.inf.h-brs.de" target="_blank">bio.inf.h-brs.de</a> --user ensembl --password ******* --port 13306 --force_overwrite --quiet --gene<br>

<br>
I use Ensembl API version 66 and use the PERL5LIB variable to link to it.<br>
PERL5LIB=/lib/ensembl_66/<u></u>ensembl-functgenomics/modules:<u></u>/lib/ensembl_66/ensembl-<u></u>variation/modules:/lib/<u></u>ensembl_66/ensembl-compara/<u></u>modules:/lib/ensembl_66/<u></u>ensembl/modules:/lib/bioperl-<u></u>1.2.3:/lib/bioperl-1.5.2_102_<u></u>Matrix<br>

<br>
<br>
<br>
______________________________<u></u>_________________<br>
Dev mailing list    <a href="mailto:Dev@ensembl.org" target="_blank">Dev@ensembl.org</a><br>
Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev" target="_blank">http://lists.ensembl.org/<u></u>mailman/listinfo/dev</a><br>
Ensembl Blog: <a href="http://www.ensembl.info/" target="_blank">http://www.ensembl.info/</a><br>
</blockquote></div><br></div>