Comments (3)
Hi @fbeghini,
Thanks for your reply. I found another error:
Traceback (most recent call last):
File "../plot_cladogram.py", line 340, in <module>
clad_tree = read_data(params['input_file'],params)
File "../plot_cladogram.py", line 106, in read_data
abundances = [float(v) for v in list(zip(*rows))[1] if v >= 0.0]
File "../plot_cladogram.py", line 106, in <listcomp>
abundances = [float(v) for v in list(zip(*rows))[1] if v >= 0.0]
TypeError: '>=' not supported between instances of 'str' and 'float'
I fixed it with abundances = [float(v) for v in list(zip(*rows))[1] if float(v) >= 0.0]
.
I forgot to say that I followed the bioconda-lefse_run.sh script in the example folder to run the tests. The link there also needs a fix.
I appreciate your time,
Best regards.
from lefse.
BTW, the full command was plot_cladogram.py hmp_aerobiosis_small.res hmp_aerobiosis_small.cladogram.png --format png
from lefse.
Hi Rodrigo, yes, thank you for spotting this, we have forgot to unlist the zip content when porting to Python 3.
This have been fixed in commit 4eb6faa
I also fixed the broken link in the LEfSE tutorial on bioBakery (hmp_small_aerobiosis.txt)
Best
from lefse.
Related Issues (20)
- An error in lefse v1.1.2 HOT 2
- Where is the tutorial ? HOT 3
- ValueError: could not convert string to float: "whole"?
- argument parsing for lefse_format_input
- installation problem
- lefse galaxy server
- Broken link HOT 1
- plot missing groups or sample columns HOT 1
- lefse galaxy server does not work
- How best to integrate results from multiple marker genes
- issue with wilcoxon signed rank test
- Plot only genus
- rpy2.rinterface_lib.embedded.RRuntimeError: Error: protect(): protection stack overflow
- The result is not replicated from the same command
- import lefse.lefse error
- lefse.error HOT 2
- Lefse Installation Issue HOT 2
- Please correct the โlefse_plot_cladogram.pyโ Line 270 in biobakery lefse online server
- Lefse Installation "No ctypes found" error
- How to use LDA when the number of samples is smaller than the number of features?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lefse.