Closed unique379 closed 11 months ago
I am not the owner of intervene, but it works with python 2.7. Just make a new conda environment and reinstall. It should run
DId you fix it? I meet some problem when used the intervene pairwise --htype tribar
Hi @unique379 @zhypan. It is fixed now. Please try to install it from the source.
Just to be sure: this is not fixed in the latest release (0.6.4)? Asking because I just fixed the conda package (by requiring pandas <1.0) .. see https://github.com/bioconda/bioconda-recipes/pull/25235
sorry, this was not pushed to pypi. Please try now with v0.6.5.
conda install -c bioconda intervene==0.6.5
Thanks a lot, this means that I can remove the restriction pandas<1 from the conda recipe, right?
Thanks @bernt-matthias !!
Hi, I am having trouble with getting pairwise to run with --test as well. I created a conda env using conda create -n intervene python=3.6 intervene=0.6.5
. Venn and upset work with --test, however I get the following when trying it with pairwise.
intervene pairwise --test
Running Intervene with test data.
Performing a pairwise intersection analysis. Please wait...
Traceback (most recent call last):
File "/home/a.yen/miniconda3/envs/intervene/bin/intervene", line 604, in <module>
main()
File "/home/a.yen/miniconda3/envs/intervene/bin/intervene", line 424, in main
pairwise.pairwise_intersection(label_names, options)
File "/home/a.yen/miniconda3/envs/intervene/lib/python3.6/site-packages/intervene/modules/pairwise/pairwise.py", line 464, in pairwise_intersection
matrix = pd.read_table(matrix_file,index_col=0, delim_whitespace=True)
File "/home/a.yen/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 755, in read_table
return read_csv(**locals())
File "/home/a.yen/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 625, in read_csv
"Specified a delimiter with both sep and "
ValueError: Specified a delimiter with both sep and delim_whitespace=True; you can only specify one.
@allenyen can you check the pandas version installed? And please try to update pandas with v1.2.x https://github.com/pandas-dev/pandas/pull/36560
I couldn't get pandas >1.1.5 with python3.6, so I created an entirely new environment with python 3.9 and pandas 1.4.3 and it works now. Thanks!
Hi install latest version of intervene using git but its not working for pairwise. and by the way, using conda, its installing 0.5.8 which is not latest and does not work either for pairwise.