loftee icon indicating copy to clipboard operation
loftee copied to clipboard

Can't locate object method "prepare" via package "false"

Open olszewskip opened this issue 4 years ago • 10 comments

Hello! I'm running vep locally via docker, and I'm getting a lot of warnings like this one

WARNING: Plugin 'LoF' went wrong: Can't locate object method "prepare" via package "false" (perhaps you forgot to load "false"?) at /data/vep-plugins/VEP_plugins/gerp_dist.pl line 129, <$fh> line 22595.

(e.g. 252 such warnings in WES chr12, 100 in WES chr20).

Do You have any hints as to what they mean and how worried should I be? Do those warnings mean that my output produced by vep+LOFTEE is completely/mostly meaningless?

olszewskip avatar Nov 24 '20 12:11 olszewskip

Hmm, how are you invoking loftee? Also, is this GRCh37 or 38?

konradjk avatar Nov 24 '20 14:11 konradjk

vep \
  --plugin LoF,loftee_path:/data/vep-plugins/loftee/loftee,human_ancestor_fa:/data/vep-plugins/loftee/human_ancestor.fa.gz \
  --assembly GRCh38 \
  --dir_plugins /data/vep-plugins/VEP_plugins

among other flags. The input is GRCh38, vcf4.2

olszewskip avatar Nov 24 '20 16:11 olszewskip

Are you running from the https://github.com/konradjk/loftee/tree/grch38 branch?

konradjk avatar Nov 24 '20 16:11 konradjk

No, the master branch actually.

olszewskip avatar Nov 24 '20 16:11 olszewskip

Ah, for GRCh38, definitely need to use the corresponding branch (master is very broken for 38)

konradjk avatar Nov 24 '20 17:11 konradjk

I think master being broken for GRCh38 needs to be added to the README on the front page

GRCh38 is the latest human reference and should be considered the default

davmlaw avatar May 18 '22 00:05 davmlaw

Hi there,

I am getting the same error message while trying to not use an ancestral file, as suggested in "If this flag is set to 'false', the ancestral allele will not be checked and filtered."

How would I set the flag to false?

Like this: vep -i file.vcf.gz --plugin LoF,loftee_path:./vep/loftee/,human_ancestor_fa:'false' [...]?

Thank you!

PS: And does loftee still run successfully even with the error message?

Frieda-Hermine avatar Dec 05 '22 01:12 Frieda-Hermine

Hi there,

I am running VEP on GRCh38, and I'm wondering if Loftee master branch is still very broken for it?

Thank you!

sph17 avatar Jan 10 '23 20:01 sph17

You may get this error if you don't pass a conservation_file.

bgorissen avatar Mar 28 '23 20:03 bgorissen

Hi all.

Is there any solution for this error? Unfortunately I could not find anything and I am getting this same warning message all the time. Does anybody have some solution to this?

Thanks, Balazs

bbazsi41 avatar Jan 05 '24 19:01 bbazsi41