Ensembl / ensembl-vep

The Ensembl Variant Effect Predictor predicts the functional effects of genomic variants
https://www.ensembl.org/vep
Apache License 2.0
453 stars 152 forks source link

Use of uninitialized value warning issued by plugins/Conservation.pm #1752

Closed rraadd88 closed 1 month ago

rraadd88 commented 2 months ago

Describe the issue

Warnings issued but the output is generated. Therefore not sure if the output is correct.

System

Full VEP command line

vep -i input.txt -o test_conservation.txt --species homo_sapiens --assembly GRCh38 --cache --dir_cache /opt/vep/.vep --offline --plugin Conservation,/opt/vep/.vep/db/Conservation/gerp_conservation_scores.homo_sapiens.GRCh38.bw --force_overwrite

Full error message

Use of uninitialized value in subtraction (-) at /plugins/Conservation.pm line 214, <__ANONIO__> line 3.
Use of uninitialized value in subtraction (-) at /plugins/Conservation.pm line 214, <__ANONIO__> line 3.
Use of uninitialized value $values[0] in sprintf at /plugins/Conservation.pm line 250, <__ANONIO__> line 3.
Use of uninitialized value in subtraction (-) at /plugins/Conservation.pm line 214, <__ANONIO__> line 3.
Use of uninitialized value in subtraction (-) at /plugins/Conservation.pm line 214, <__ANONIO__> line 3.
Use of uninitialized value $values[0] in sprintf at /plugins/Conservation.pm line 250, <__ANONIO__> line 3.
Use of uninitialized value in subtraction (-) at /plugins/Conservation.pm line 214, <__ANONIO__> line 3.
Use of uninitialized value in subtraction (-) at /plugins/Conservation.pm line 214, <__ANONIO__> line 3.
Use of uninitialized value $values[0] in sprintf at /plugins/Conservation.pm line 250, <__ANONIO__> line 3.

Data files (if applicable)

They include:

olaaustine commented 1 month ago

Hi @rraadd88,

Hope this meets you well? Thank you for sharing your input file. I have been able to reproduce this issue. The issue is those variant do not have Conservation score but still getting 0.0 assigned. As you can see in your output file, you have some variant with conservation scoreConservation=0.000 . This issue does not impact the output for variants that have a conservation score. This issue has been rectified here VEP plugins 734 and should be available in the next release. Thank you Ola.

olaaustine commented 1 month ago

Hi @rraadd88, I am going to close this ticket now. Please feel free to open another ticket if you have any other questions/issues. Thank you Ola.