Closed dllahr closed 9 months ago
Hi @dllahr you're using an old version v0.5.8
of the tool. Please try to install the latest version 0.6.5
using:
conda install intervene=0.6.5 -c bioconda
or
pip install intervene==0.6.5
Thank you I was able to get it working installing via pip. FYI the conda install command did not work even though I was using a new clean environment i.e.:
conda create -n intervene3 intervene=0.6.5 -c bioconda
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError:
or attempting to do it separately:
conda create -n intervene3
conda activate intervene3
conda install intervene=0.6.5 -c bioconda
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError:
@dllahr It seems is using the python 2.7., or potentially you conda base env
has python 2.7.
Can you please try this?
conda create -n intervene3 python=3.6 intervene=0.6.5 -c bioconda
Hello,
Thank you for the nice package, I am still trying to explore it. Sorry for the simple question, but I am running into this error when running the test with the pairwise module as well.
Running Intervene with test data.
Performing a pairwise intersection analysis. Please wait...
Traceback (most recent call last):
File "/home/scn-4/anaconda3/bin/intervene", line 604, in <module>
main()
File "/home/scn-4/anaconda3/bin/intervene", line 424, in main
pairwise.pairwise_intersection(label_names, options)
File "/home/scn-4/anaconda3/lib/python3.8/site-packages/intervene/modules/pairwise/pairwise.py", line 486, in pairwise_intersection
barplot(series, matrix, outfile, options, max_size=max(bed_sizes))
File "/home/scn-4/anaconda3/lib/python3.8/site-packages/intervene/modules/pairwise/pairwise.py", line 165, in barplot
ax.grid(b=False, which='major', axis='both', alpha=0.1)
File "/home/scn-4/anaconda3/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 3194, in grid
self.xaxis.grid(visible, which=which, **kwargs)
File "/home/scn-4/anaconda3/lib/python3.8/site-packages/matplotlib/axis.py", line 1660, in grid
self.set_tick_params(which='major', **gridkw)
File "/home/scn-4/anaconda3/lib/python3.8/site-packages/matplotlib/axis.py", line 932, in set_tick_params
kwtrans = self._translate_tick_params(kwargs)
File "/home/scn-4/anaconda3/lib/python3.8/site-packages/matplotlib/axis.py", line 1076, in _translate_tick_params
raise ValueError(
ValueError: keyword grid_b is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop', 'labelrotation', 'grid_agg_filter', 'grid_alpha', 'grid_animated', 'grid_antialiased', 'grid_clip_box', 'grid_clip_on', 'grid_clip_path', 'grid_color', 'grid_dash_capstyle', 'grid_dash_joinstyle', 'grid_dashes', 'grid_data', 'grid_drawstyle', 'grid_figure', 'grid_fillstyle', 'grid_gapcolor', 'grid_gid', 'grid_in_layout', 'grid_label', 'grid_linestyle', 'grid_linewidth', 'grid_marker', 'grid_markeredgecolor', 'grid_markeredgewidth', 'grid_markerfacecolor', 'grid_markerfacecoloralt', 'grid_markersize', 'grid_markevery', 'grid_mouseover', 'grid_path_effects', 'grid_picker', 'grid_pickradius', 'grid_rasterized', 'grid_sketch_params', 'grid_snap', 'grid_solid_capstyle', 'grid_solid_joinstyle', 'grid_transform', 'grid_url', 'grid_visible', 'grid_xdata', 'grid_ydata', 'grid_zorder', 'grid_aa', 'grid_c', 'grid_ds', 'grid_ls', 'grid_lw', 'grid_mec', 'grid_mew', 'grid_mfc', 'grid_mfcalt', 'grid_ms']
I have the dependencies updated as required, and esp pandas and matplotlib. The tool version is up to date.
Any help would be appreciated.
Hi @Abeer-hes please try this: #56
conda install matplotlib==3.4.3
Hi, I'm trying to use pairwise with lists and I'm getting an error message. Note the everything works fine when using venn instead.
Here's the command I used:
intervene pairwise -i a.grp b.grp c.grp --type list
Here's the output / error message:
it does produce an output
Intervene_pairwise_frac_matrix.txt
before the error occurs that contains:Here's the contents of the input files:
Any help getting this working would be greatly appreciated, thank you.