Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plasflow 1.1.0 tools fails planemo test #3711

Closed
pvanheus opened this issue Jun 3, 2021 · 5 comments
Closed

plasflow 1.1.0 tools fails planemo test #3711

pvanheus opened this issue Jun 3, 2021 · 5 comments

Comments

@pvanheus
Copy link
Contributor

pvanheus commented Jun 3, 2021

How to reproduce:

  1. run planemo test plasflow.xml
  2. Receive output like the following:
| 2 - PlasFlow on data 1: Probability table (HID - NAME) 
| Dataset State:
|  error
| Dataset Blurb:
|  error
| Dataset Info:
|  Importing sequences
|  Imported  [1] 2
|  sequences
|  Calculating kmer frequencies using kmer 5
|  Transforming kmer frequencies
|  Traceback (most recent call last):
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/tensorflow/python/__
| Peek:
|  *Peek unavilable.*
| Dataset Job Standard Output:
|  Importing sequences
|  Imported  [1] 2
|  sequences
|  Calculating kmer frequencies using kmer 5
|  Transforming kmer frequencies
| Dataset Job Standard Error:
|  Traceback (most recent call last):
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 52, in <module>
|  from tensorflow.core.framework.graph_pb2 import *
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/tensorflow/core/framework/graph_pb2.py", line 6, in <module>
|  from google.protobuf import descriptor as _descriptor
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/google/protobuf/descriptor.py", line 47, in <module>
|  from google.protobuf.pyext import _message
|  ImportError: /home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/google/protobuf/pyext/_message.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZNK6google8protobuf10TextFormat17FieldValuePrinter9PrintBoolEb
|  During handling of the above exception, another exception occurred:
|  Traceback (most recent call last):
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/bin/PlasFlow.py", line 261, in <module>
|  vote_proba = vote_class.predict_proba(input_data)
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/bin/PlasFlow.py", line 215, in predict_proba
|  self.probas_ = [clf.predict_proba_tf(X) for clf in self.clfs]
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/bin/PlasFlow.py", line 215, in <listcomp>
|  self.probas_ = [clf.predict_proba_tf(X) for clf in self.clfs]
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/bin/PlasFlow.py", line 171, in predict_proba_tf
|  import tensorflow as tf
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/tensorflow/__init__.py", line 23, in <module>
|  from tensorflow.python import *
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 58, in <module>
|  raise ImportError(msg)
|  ImportError: Traceback (most recent call last):
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 52, in <module>
|  from tensorflow.core.framework.graph_pb2 import *
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/tensorflow/core/framework/graph_pb2.py", line 6, in <module>
|  from google.protobuf import descriptor as _descriptor
|  File "/home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/google/protobuf/descriptor.py", line 47, in <module>
|  from google.protobuf.pyext import _message
|  ImportError: /home/pvh/miniconda3/envs/__plasflow@1.1.0/lib/python3.5/site-packages/google/protobuf/pyext/_message.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZNK6google8protobuf10TextFormat17FieldValuePrinter9PrintBoolEb
|  Error importing tensorflow.  Unless you are using bazel,
|  you should not try to import tensorflow from its source directory;
|  please exit the tensorflow source tree, and relaunch your python interpreter
|  from there.

This is with plasflow installed from bioconda (where the bioconda recipe is from bioconda/bioconda-recipes#10326). This seems to be noted as a problem upstream - see WIP PR bioconda/bioconda-recipes#27766 from @bernt-matthias. I'm opening this issue though to note that this tool is, for now, broken. Thanks to @JayanthiGangiredla for noting this.

@bernt-matthias
Copy link
Contributor

smaegol/PlasFlow#39

@bernt-matthias
Copy link
Contributor

Should be fixed for now

@JayanthiGangiredla
Copy link

JayanthiGangiredla commented Jan 21, 2023 via email

@JayanthiGangiredla
Copy link

JayanthiGangiredla commented Feb 2, 2023 via email

@bernt-matthias
Copy link
Contributor

@JayanthiGangiredla all ideas that come to my mind seem more complicated than an update.

The question seems not related to this issue. It would have been better to open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants