-
Notifications
You must be signed in to change notification settings - Fork 21
AttributeError: 'module' object has no attribute 'logsumexp' #24
Description
Hello,
I am attempting to install this pipeline using Singularity and run the test profile as follows,
nextflow run nf-core/deepvariant -profile test,singularity
and am receiving the following error:
Traceback (most recent call last): File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/deepvariant/make_examples.py", line 1188, in <module> tf.app.run() File "/opt/conda/envs/nf-core-deepvariant-1.0/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/deepvariant/make_examples.py", line 1178, in main make_examples_runner(options) File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/deepvariant/make_examples.py", line 1090, in make_examples_runner candidates, examples, gvcfs = region_processor.process(region) File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/deepvariant/make_examples.py", line 806, in process self._initialize() File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/deepvariant/make_examples.py", line 747, in _initialize self.options.variant_caller_options) File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/deepvariant/variant_caller.py", line 123, in __init__ for n_total in range(self.max_cache_coverage + 1)] File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/deepvariant/variant_caller.py", line 201, in _calc_reference_confidence log10_probs = genomics_math.normalize_log10_probs([-1.0, -1.0, -1.0]) File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/third_party/nucleus/util/genomics_math.py", line 261, in normalize_log10_probs lse = log10sumexp(log10_probs) File "/lscratch/1876264.sapelo2/Bazel.runfiles_gbFRRq/runfiles/com_google_deepvariant/third_party/nucleus/util/genomics_math.py", line 201, in log10sumexp return LOG_10_OF_E * scipy.special.logsumexp( AttributeError: 'module' object has no attribute 'logsumexp'
Any information you could provide to fix the problem would be much appreciated.