Starlitnightly / omicverse

A python library for multi omics included bulk, single cell and spatial RNA-seq analysis.
https://starlitnightly.github.io/omicverse/
GNU General Public License v3.0
458 stars 56 forks source link

error in running run T-DESEQ2 in bulk RNA sequencing analysis. #151

Open yanbosmu opened 1 month ago

yanbosmu commented 1 month ago

# When I run T-DESEQ2 in bulk RNA sequencing analysis.

treatment_groups=['4-3','4-4'] control_groups=['1--1','1--2'] result=dds.deg_analysis(treatment_groups,control_groups,method='DEseq2')

Fitting size factors... ... done in 0.00 seconds.

Fitting dispersions... ... done in 1.99 seconds.

Fitting dispersion trend curve... ... done in 2.19 seconds.

Fitting MAP dispersions...

logres_prior=1.1516258223789004, sigma_prior=0.25

... done in 2.47 seconds.

Fitting LFCs... ... done in 2.92 seconds.


ValueError Traceback (most recent call last) Cell In[9], line 3 1 treatment_groups=['4-3','4-4'] 2 control_groups=['1--1','1--2'] ----> 3 result=dds.deg_analysis(treatment_groups,control_groups,method='DEseq2')

File /data/Conda_envs/your_path/omicverse/lib/python3.10/site-packages/omicverse/bulk/_Deseq2.py:609, in pyDEG.deg_analysis(self, group1, group2, method, alpha, multipletests_method, n_cpus, cooks_filter, independent_filter) 606 dds.calculate_cooks() 607 if dds.refit_cooks: 608 # Replace outlier counts --> 609 dds.refit() 610 stat_res = DeseqStats(dds, alpha=alpha, cooks_filter=cooks_filter, independent_filter=independent_filter) 611 stat_res.run_wald_test()

File /data/Conda_envs/your_path/omicverse/lib/python3.10/site-packages/pydeseq2/dds.py:773, in DeseqDataSet.refit(self) 767 """Refit Cook outliers. 768 769 Replace values that are filtered out based on the Cooks distance with imputed 770 values, and then re-run the whole DESeq2 pipeline on replaced values. 771 """ 772 # Replace outlier counts --> 773 self._replace_outliers() 774 if not self.quiet: 775 print( 776 f"Refitting {sum(self.varm['replaced']) } outliers.\n", file=sys.stderr 777 )

File /data/Conda_envs/your_path/omicverse/lib/python3.10/site-packages/pydeseq2/dds.py:863, in DeseqDataSet._replace_outliers(self) 854 n_or_more = ( 855 self.obsm["design_matrix"][ 856 self.obsm["design_matrix"].columns[-1] 857 ].value_counts() 858 >= self.min_replicates 859 ) 861 if n_or_more.sum() == 0: 862 # No sample can be replaced. Set self.replaced to False and exit. --> 863 self.varm["replaced"] = pd.Series(False, index=self.var_names) 864 return 866 replaceable = n_or_more[ 867 self.obsm["design_matrix"][self.obsm["design_matrix"].columns[-1]] 868 ]

File /data/Conda_envs/your_path/omicverse/lib/python3.10/site-packages/anndata/_core/aligned_mapping.py:216, in AlignedActual.setitem(self, key, value) 215 def setitem(self, key: str, value: Value): --> 216 value = self._validate_value(value, key) 217 self._data[key] = value

File /data/Conda_envs/your_path/omicverse/lib/python3.10/site-packages/anndata/_core/aligned_mapping.py:279, in AxisArraysBase._validate_value(self, val, key) 277 msg = "Index.equals and pd.testing.assert_index_equal disagree" 278 raise AssertionError(msg) --> 279 return super()._validate_value(val, key)

File /data/Conda_envs/your_path/omicverse/lib/python3.10/site-packages/anndata/_core/aligned_mapping.py:100, in AlignedMappingBase._validate_value(self, val, key) 97 raise ValueError(msg) 99 name = f"{self.attrname.title().rstrip('s')} {key!r}" --> 100 return coerce_array(val, name=name, allow_df=self._allow_df)

File /data/Conda_envs/your_path/omicverse/lib/python3.10/site-packages/anndata/_core/storage.py:104, in coerce_array(value, name, allow_df, allow_array_like) 102 if e is not None: 103 msg += " (Failed to convert it to an array, see above for details.)" --> 104 raise ValueError(msg) from e

ValueError: Varm 'replaced' needs to be of one of np.ndarray, numpy.ma.core.MaskedArray, scipy.sparse.spmatrix, awkward.Array, h5py.Dataset, zarr.Array, zappy.base.ZappyArray, anndata.experimental.[CSC,CSR]Dataset, dask.array.Array, cupy.ndarray, or cupyx.scipy.sparse.spmatrix, not <class 'pandas.core.series.Series'>.

Any solution to this? OMICVERSE 1.6.5

yanbosmu commented 1 month ago

packages in environment at /data/Conda_envs/your_path/omicverse:

#

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_kmp_llvm conda-forge _sysroot_linux-64_curr_repodata_hack 3 h69a702a_16 conda-forge absl-py 2.1.0 pyhd8ed1ab_0 conda-forge adjusttext 1.2.0 pyhd8ed1ab_0 conda-forge aiohappyeyeballs 2.4.0 pyhd8ed1ab_0 conda-forge aiohttp 3.10.5 py310h5b4e0ec_0 conda-forge aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge anndata 0.10.9 pyhd8ed1ab_0 conda-forge anyio 4.4.0 pyhd8ed1ab_0 conda-forge aom 3.9.1 hac33072_0 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py310h2372a71_4 conda-forge arpack 3.9.1 nompi_h77f6705_101 conda-forge array-api-compat 1.8 pyhd8ed1ab_0 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge ase 3.23.0 pyhd8ed1ab_0 conda-forge astor 0.8.1 pyh9f0ad1d_0 conda-forge asttokens 2.4.1 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge async-timeout 4.0.3 pyhd8ed1ab_0 conda-forge atk-1.0 2.38.0 hd4edc92_1 conda-forge attrs 24.2.0 pyh71513ae_0 conda-forge autograd 1.6.2 pyhd8ed1ab_0 conda-forge autograd-gamma 0.5.0 pyh9f0ad1d_0 conda-forge aws-c-auth 0.7.20 h5f1c8d9_0 conda-forge aws-c-cal 0.6.12 h2ba76a8_0 conda-forge aws-c-common 0.9.17 h4ab18f5_0 conda-forge aws-c-compression 0.2.18 h36a0aea_4 conda-forge aws-c-event-stream 0.4.2 h161de36_10 conda-forge aws-c-http 0.8.1 h63f54a0_13 conda-forge aws-c-io 0.14.8 h96d4d28_0 conda-forge aws-c-mqtt 0.10.4 hcc7299c_2 conda-forge aws-c-s3 0.5.9 h10bd90f_0 conda-forge aws-c-sdkutils 0.1.16 h36a0aea_0 conda-forge aws-checksums 0.1.18 h36a0aea_4 conda-forge aws-crt-cpp 0.26.8 h4f3a3cc_11 conda-forge aws-sdk-cpp 1.11.267 h51dfee4_8 conda-forge babel 2.14.0 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.3 pyha770c72_0 conda-forge biopython 1.78 pypi_0 pypi bioservices 1.11.2 pypi_0 pypi bleach 6.1.0 pyhd8ed1ab_0 conda-forge blinker 1.8.2 pyhd8ed1ab_0 conda-forge blosc 1.21.5 hc2324a3_1 conda-forge bokeh 3.4.2 pyhd8ed1ab_0 conda-forge boltons 24.0.0 pyhd8ed1ab_0 conda-forge branca 0.7.2 pyhd8ed1ab_0 conda-forge brotli 1.1.0 hd590300_1 conda-forge brotli-bin 1.1.0 hd590300_1 conda-forge brotli-python 1.1.0 py310hc6cd4ac_1 conda-forge bzip2 1.0.8 h4bc722e_7 conda-forge c-ares 1.33.1 heb4867d_0 conda-forge ca-certificates 2024.8.30 hbcca054_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachetools 5.5.0 pyhd8ed1ab_0 conda-forge cairo 1.18.0 h3faef2a_0 conda-forge captum 0.6.0 pyhd8ed1ab_0 conda-forge cattrs 22.2.0 pypi_0 pypi certifi 2024.7.4 pyhd8ed1ab_0 conda-forge cffi 1.17.0 py310h8deb56e_1 conda-forge cfitsio 4.3.1 hbdc6101_0 conda-forge chardet 5.2.0 py310hff52083_2 conda-forge charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge chex 0.1.83 pyhd8ed1ab_0 conda-forge click 8.1.7 unix_pyh707e725_0 conda-forge cloudpickle 3.0.0 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge colorcet 3.1.0 pyhd8ed1ab_0 conda-forge colorlog 6.8.2 pypi_0 pypi comm 0.2.2 pyhd8ed1ab_0 conda-forge contextlib2 21.6.0 pyhd8ed1ab_0 conda-forge contourpy 1.3.0 py310h3788b33_0 conda-forge ctxcore 0.2.0 pypi_0 pypi cubinlinker 0.3.0 py310hfdf336d_1 rapidsai cucim 24.02.00 cuda11_py310_240212_g7d08ffc_0 rapidsai cuda-cudart 11.8.89 0 nvidia cuda-cupti 11.8.87 0 nvidia cuda-libraries 11.8.0 0 nvidia cuda-nvrtc 11.8.89 0 nvidia cuda-nvtx 11.8.86 0 nvidia cuda-profiler-api 11.8.86 0 nvidia cuda-python 11.8.3 py310hf9913ef_0 nvidia cuda-runtime 11.8.0 0 nvidia cuda-version 11.8 h70ddcb2_3 conda-forge cudatoolkit 11.8.0 h4ba93d1_13 conda-forge cudf 24.02.02 cuda11_py310_240227_gdd34fdbe35_0 rapidsai cudf_kafka 24.02.02 cuda11_py310_240227_gdd34fdbe35_0 rapidsai cudnn 8.9.7.29 hbc23b4c_3 conda-forge cugraph 24.02.00 cuda11_py310_240213_g3e5f47d0f_0 rapidsai cuml 24.02.00 cuda11_py310_240213_geb50e481d_0 rapidsai cuproj 24.02.00 cuda11_py310_240213_ga881c4a5_0 rapidsai cupy 13.3.0 py310h189a05f_0 conda-forge cupy-cuda11x 13.3.0 pypi_0 pypi cusparselt 0.5.0.1 hd5ab71f_1 conda-forge cuspatial 24.02.00 cuda11_py310_240213_ga881c4a5_0 rapidsai custreamz 24.02.02 cuda11_py310_240227_gdd34fdbe35_0 rapidsai cutensor 2.0.2.5 hee583db_0 conda-forge cuxfilter 24.02.00 cuda11_py310_240213_g4a431d7_0 rapidsai cycler 0.12.1 pyhd8ed1ab_0 conda-forge cyrus-sasl 2.1.27 h54b06d7_7 conda-forge cython 3.0.11 pypi_0 pypi cytoolz 0.12.3 py310h2372a71_0 conda-forge dask 2024.1.1 pyhd8ed1ab_0 conda-forge dask-core 2024.1.1 pyhd8ed1ab_0 conda-forge dask-cuda 24.02.00 py310_240212_g96bedbc_0 rapidsai dask-cudf 24.02.02 cuda11_py310_240227_gdd34fdbe35_0 rapidsai datashader 0.16.3 pyhd8ed1ab_0 conda-forge datetime 4.5 pypi_0 pypi dav1d 1.2.1 hd590300_0 conda-forge debugpy 1.8.5 py310hea249c9_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge decoupler 1.8.0 pypi_0 pypi defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge deprecated 1.2.14 pypi_0 pypi dill 0.3.8 pyhd8ed1ab_0 conda-forge distributed 2024.1.1 pyhd8ed1ab_0 conda-forge dlpack 0.5 h9c3ff4c_0 conda-forge dm-tree 0.1.8 py310ha8c1f0e_4 conda-forge docrep 0.3.2 pyh44b312d_0 conda-forge easydev 0.12.0 pypi_0 pypi einops 0.8.0 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge etils 1.7.0 pyhd8ed1ab_0 conda-forge exceptiongroup 1.2.2 pyhd8ed1ab_0 conda-forge executing 2.0.1 pyhd8ed1ab_0 conda-forge expat 2.6.2 h59595ed_0 conda-forge fa2 0.3.5 py310h5764c6d_2 conda-forge fastrlock 0.8.2 py310hc6cd4ac_2 conda-forge filelock 3.15.4 pyhd8ed1ab_0 conda-forge flask 3.0.3 pyhd8ed1ab_0 conda-forge flax 0.9.0 pyhd8ed1ab_0 conda-forge fmt 10.2.1 h00ab1b0_0 conda-forge folium 0.17.0 pyhd8ed1ab_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 h77eed37_2 conda-forge fontconfig 2.14.2 h14ed4e7_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.53.1 py310h5b4e0ec_0 conda-forge formulaic 1.0.2 pyhd8ed1ab_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 h267a509_2 conda-forge freetype-py 2.3.0 pyhd8ed1ab_0 conda-forge freexl 2.0.0 h743c826_0 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge frozendict 2.4.4 pypi_0 pypi frozenlist 1.4.1 py310h2372a71_0 conda-forge fsspec 2024.6.1 pyhff2d567_0 conda-forge future 1.0.0 pyhd8ed1ab_0 conda-forge gdal 3.8.1 py310haaa150b_3 conda-forge gdk-pixbuf 2.42.10 h829c605_5 conda-forge gdown 5.2.0 pyhd8ed1ab_0 conda-forge geopandas 1.0.1 pyhd8ed1ab_0 conda-forge geopandas-base 1.0.1 pyha770c72_0 conda-forge geos 3.12.1 h59595ed_0 conda-forge geotiff 1.7.1 hf074850_14 conda-forge get-annotations 0.1.2 pyhd8ed1ab_0 conda-forge gettext 0.22.5 he02047a_3 conda-forge gettext-tools 0.22.5 he02047a_3 conda-forge gevent 24.2.1 pypi_0 pypi gflags 2.2.2 he1b5a44_1004 conda-forge giflib 5.2.2 hd590300_0 conda-forge glog 0.7.1 hbabe93e_0 conda-forge glpk 5.0 h445213a_0 conda-forge gmock 1.15.2 ha770c72_0 conda-forge gmp 6.3.0 hac33072_2 conda-forge gmpy2 2.1.5 py310hc7909c9_1 conda-forge graphite2 1.3.13 h59595ed_1003 conda-forge graphlib-backport 1.0.3 pyhd8ed1ab_0 conda-forge graphtools 1.5.3 pypi_0 pypi graphviz 9.0.0 h78e8752_1 conda-forge greenlet 3.0.3 py310hc6cd4ac_0 conda-forge grequests 0.7.0 pypi_0 pypi grpcio 1.62.2 py310h1b8f574_0 conda-forge gseapy 0.10.8 pypi_0 pypi gtest 1.15.2 h434a139_0 conda-forge gtk2 2.24.33 h280cfa0_4 conda-forge gts 0.7.6 h977cf35_4 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge h5py 3.11.0 nompi_py310hf054cd7_102 conda-forge harfbuzz 8.3.0 h3d44ed6_0 conda-forge harmonypy 0.0.10 pypi_0 pypi hdf4 4.2.15 h2a13503_7 conda-forge hdf5 1.14.3 nompi_hdf9ad27_105 conda-forge hnswlib 0.7.0 py310hcb52e73_2 conda-forge holoviews 1.19.1 pyhd8ed1ab_0 conda-forge hpack 4.0.0 pyh9f0ad1d_0 conda-forge httpcore 1.0.5 pyhd8ed1ab_0 conda-forge httpx 0.27.2 pyhd8ed1ab_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge icu 73.2 h59595ed_0 conda-forge idna 3.8 pyhd8ed1ab_0 conda-forge igraph 0.10.13 hef0740d_0 conda-forge imagecodecs-lite 2019.12.3 py310h261611a_8 conda-forge imageio 2.35.1 pyh12aca89_0 conda-forge importlib-metadata 8.4.0 pyha770c72_0 conda-forge importlib_metadata 8.4.0 hd8ed1ab_0 conda-forge importlib_resources 6.4.4 pyhd8ed1ab_0 conda-forge inflect 7.3.1 pypi_0 pypi interface_meta 1.3.0 pyhd8ed1ab_0 conda-forge ipykernel 6.29.5 pyh3099207_0 conda-forge ipython 8.26.0 pyh707e725_0 conda-forge ipywidgets 8.1.5 pyhd8ed1ab_0 conda-forge isodate 0.6.1 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge itsdangerous 2.2.0 pyhd8ed1ab_0 conda-forge jax 0.4.27 pyhd8ed1ab_0 conda-forge jaxlib 0.4.23 cuda118py310hd0f2884_202 conda-forge jaxopt 0.8.3 pyhd8ed1ab_0 conda-forge jbig 2.1 h7f98852_2003 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.1.4 pyhd8ed1ab_0 conda-forge joblib 1.4.2 pyhd8ed1ab_0 conda-forge json-c 0.17 h1220068_1 conda-forge json5 0.9.25 pyhd8ed1ab_0 conda-forge jsonpointer 3.0.0 py310hff52083_0 conda-forge jsonschema 4.23.0 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.23.0 hd8ed1ab_0 conda-forge jupyter-lsp 2.2.5 pyhd8ed1ab_0 conda-forge jupyter-server-proxy 4.4.0 pyhd8ed1ab_0 conda-forge jupyter_client 8.6.2 pyhd8ed1ab_0 conda-forge jupyter_core 5.7.2 py310hff52083_0 conda-forge jupyter_events 0.10.0 pyhd8ed1ab_0 conda-forge jupyter_server 2.14.2 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge jupyterlab 4.2.5 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge jupyterlab_server 2.27.3 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.13 pyhd8ed1ab_0 conda-forge kealib 1.5.3 hee9dde6_1 conda-forge kernel-headers_linux-64 3.10.0 h4a8ded7_16 conda-forge keyutils 1.6.1 h166bdaf_0 conda-forge kiwisolver 1.4.5 py310h3788b33_2 conda-forge krb5 1.21.3 h659f571_0 conda-forge ktplotspy 0.2.4 pypi_0 pypi lazy-loader 0.4 pyhd8ed1ab_1 conda-forge lazy_loader 0.4 pyhd8ed1ab_1 conda-forge lcms2 2.16 hb7c19ff_0 conda-forge ld_impl_linux-64 2.40 hf3520f5_7 conda-forge legacy-api-wrap 1.4 pyhd8ed1ab_1 conda-forge leidenalg 0.10.2 py310hc6cd4ac_0 conda-forge lerc 4.0.0 h27087fc_0 conda-forge libabseil 20240116.2 cxx17_he02047a_1 conda-forge libaec 1.1.3 h59595ed_0 conda-forge libarchive 3.7.4 hfca40fe_0 conda-forge libarrow 14.0.2 hefa796f_19_cpu conda-forge libarrow-acero 14.0.2 hbabe93e_19_cpu conda-forge libarrow-dataset 14.0.2 hbabe93e_19_cpu conda-forge libarrow-flight 14.0.2 hc4f8a93_19_cpu conda-forge libarrow-flight-sql 14.0.2 he4f5ca8_19_cpu conda-forge libarrow-gandiva 14.0.2 hc1954e9_19_cpu conda-forge libarrow-substrait 14.0.2 he4f5ca8_19_cpu conda-forge libasprintf 0.22.5 he8f35ee_3 conda-forge libasprintf-devel 0.22.5 he8f35ee_3 conda-forge libavif16 1.1.1 h104a339_1 conda-forge libblas 3.9.0 20_linux64_openblas conda-forge libboost 1.84.0 hba137d9_3 conda-forge libboost-headers 1.86.0 ha770c72_1 conda-forge libboost-python 1.84.0 py310ha7c98ff_5 conda-forge libbrotlicommon 1.1.0 hd590300_1 conda-forge libbrotlidec 1.1.0 hd590300_1 conda-forge libbrotlienc 1.1.0 hd590300_1 conda-forge libcblas 3.9.0 20_linux64_openblas conda-forge libcrc32c 1.1.2 h9c3ff4c_0 conda-forge libcublas 11.11.3.6 0 nvidia libcublas-dev 11.11.3.6 0 nvidia libcucim 24.02.00 cuda11_240212_g7d08ffc_0 rapidsai libcudf 24.02.02 cuda11_240227_gdd34fdbe35_0 rapidsai libcudf_kafka 24.02.02 cuda11_240227_gdd34fdbe35_0 rapidsai libcufft 10.9.0.58 0 nvidia libcufile 1.4.0.31 0 nvidia libcufile-dev 1.4.0.31 0 nvidia libcugraph 24.02.00 cuda11_240213_g3e5f47d0f_0 rapidsai libcugraph_etl 24.02.00 cuda11_240213_g3e5f47d0f_0 rapidsai libcugraphops 24.02.01 cuda11_240222_g69c1ddc8_0 nvidia libcuml 24.02.00 cuda11_240213_geb50e481d_0 rapidsai libcumlprims 24.02.00 cuda11_240213_g0e32024_0 nvidia libcurand 10.3.0.86 0 nvidia libcurand-dev 10.3.0.86 0 nvidia libcurl 8.8.0 hca28451_1 conda-forge libcusolver 11.4.1.48 0 nvidia libcusolver-dev 11.4.1.48 0 nvidia libcusparse 11.7.5.86 0 nvidia libcusparse-dev 11.7.5.86 0 nvidia libcuspatial 24.02.00 cuda11_240213_ga881c4a5_0 rapidsai libdeflate 1.19 hd590300_0 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 hd590300_2 conda-forge libevent 2.1.12 hf998b51_1 conda-forge libexpat 2.6.2 h59595ed_0 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc 14.1.0 h77fa898_1 conda-forge libgcc-ng 14.1.0 h69a702a_1 conda-forge libgd 2.3.3 h119a65a_9 conda-forge libgdal 3.8.1 h4b8bffa_3 conda-forge libgettextpo 0.22.5 he02047a_3 conda-forge libgettextpo-devel 0.22.5 he02047a_3 conda-forge libgfortran 14.1.0 h69a702a_1 conda-forge libgfortran-ng 14.1.0 h69a702a_1 conda-forge libgfortran5 14.1.0 hc5f4f2c_1 conda-forge libglib 2.78.4 h783c2da_0 conda-forge libgoogle-cloud 2.23.0 h9be4e54_1 conda-forge libgoogle-cloud-storage 2.23.0 hc7a4891_1 conda-forge libgrpc 1.62.2 h15f2491_0 conda-forge libhwloc 2.11.1 default_hecaa2ac_1000 conda-forge libiconv 1.17 hd590300_2 conda-forge libjpeg-turbo 3.0.0 hd590300_1 conda-forge libkml 1.3.0 h01aab08_1018 conda-forge libkvikio 24.02.01 cuda11_240226_gfe01c15_0 rapidsai liblapack 3.9.0 20_linux64_openblas conda-forge libleidenalg 0.11.1 h00ab1b0_0 conda-forge libllvm14 14.0.6 hcd5def8_4 conda-forge libllvm15 15.0.7 hb3ce162_4 conda-forge libmagma 2.8.0 hfdb99dd_0 conda-forge libmagma_sparse 2.8.0 h9ddd185_0 conda-forge libnetcdf 4.9.2 nompi_h135f659_114 conda-forge libnghttp2 1.58.0 h47da74e_1 conda-forge libnl 3.10.0 h4bc722e_0 conda-forge libnpp 11.8.0.86 0 nvidia libnsl 2.0.1 hd590300_0 conda-forge libntlm 1.4 h7f98852_1002 conda-forge libnvjpeg 11.9.0.86 0 nvidia libopenblas 0.3.25 pthreads_h413a1c8_0 conda-forge libparquet 14.0.2 hacf5a1f_19_cpu conda-forge libpng 1.6.43 h2797004_0 conda-forge libpq 16.3 ha72fbe1_0 conda-forge libprotobuf 4.25.3 h08a7969_0 conda-forge libraft 24.02.00 cuda11_240212_g698d6c7b_0 rapidsai libraft-headers 24.02.00 cuda11_240212_g698d6c7b_0 rapidsai libraft-headers-only 24.02.00 cuda11_240212_g698d6c7b_0 rapidsai librdkafka 1.9.2 ha5a0de0_2 conda-forge librdkit 2024.03.5 h79cfef2_3 conda-forge libre2-11 2023.09.01 h5a48ba9_2 conda-forge librmm 24.02.00 cuda11_240212_g09b406c1_0 rapidsai librsvg 2.56.3 he3f83f7_1 conda-forge librttopo 1.1.0 h8917695_15 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libspatialite 5.1.0 h72606ae_3 conda-forge libsqlite 3.46.0 hde9e2c9_0 conda-forge libssh2 1.11.0 h0841786_0 conda-forge libstdcxx 14.1.0 hc0a3c3a_1 conda-forge libstdcxx-ng 14.1.0 h4852527_1 conda-forge libthrift 0.19.0 hb90f79a_1 conda-forge libtiff 4.6.0 ha9c0a0a_2 conda-forge libtorch 2.4.0 cuda118_h8db9d67_301 conda-forge libutf8proc 2.8.0 h166bdaf_0 conda-forge libuuid 2.38.1 h0b41bf4_0 conda-forge libuv 1.48.0 hd590300_0 conda-forge libwebp 1.3.2 h658648e_1 conda-forge libwebp-base 1.3.2 hd590300_1 conda-forge libxcb 1.15 h0b41bf4_0 conda-forge libxcrypt 4.4.36 hd590300_1 conda-forge libxgboost 2.0.3 rapidsai_h3ea025e_2 rapidsai libxml2 2.12.7 hc051c1a_1 conda-forge libzip 1.10.1 h2629f0a_3 conda-forge libzlib 1.2.13 h4ab18f5_6 conda-forge lifelines 0.27.8 pyhd8ed1ab_0 conda-forge lightning 2.4.0 pyhd8ed1ab_0 conda-forge lightning-utilities 0.11.6 pyhd8ed1ab_0 conda-forge linkify-it-py 2.0.3 pyhd8ed1ab_0 conda-forge llvm-openmp 18.1.7 ha31de31_0 conda-forge llvmlite 0.43.0 py310h6a678d5_0 defaults locket 1.0.0 pyhd8ed1ab_0 conda-forge loompy 3.0.7 pypi_0 pypi louvain 0.8.2 py310hc6cd4ac_0 conda-forge lxml 5.3.0 pypi_0 pypi lz4 4.3.3 py310h350c4a5_0 conda-forge lz4-c 1.9.4 hcb278e6_0 conda-forge lzo 2.10 hd590300_1001 conda-forge mapclassify 2.8.0 pyhd8ed1ab_0 conda-forge markdown 3.6 pyhd8ed1ab_0 conda-forge markdown-it-py 3.0.0 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py310ha75aee5_1 conda-forge matplotlib-base 3.6.3 py310he60537e_0 conda-forge matplotlib-inline 0.1.7 pyhd8ed1ab_0 conda-forge mdit-py-plugins 0.4.1 pyhd8ed1ab_0 conda-forge mdurl 0.1.2 pyhd8ed1ab_0 conda-forge mellon 1.4.3 pyhd8ed1ab_0 conda-forge metatime 1.3.0 pypi_0 pypi minizip 4.0.6 h9d307f2_0 conda-forge mira-moods 1.9.4.2 pypi_0 pypi mira-multiome 2.1.1 pypi_0 pypi mistune 3.0.2 pyhd8ed1ab_0 conda-forge mizani 0.9.0 pypi_0 pypi mkl 2023.2.0 h84fe81f_50496 conda-forge ml-collections 0.1.1 pyhd8ed1ab_0 conda-forge ml_dtypes 0.4.0 py310hf9f9076_1 conda-forge mofax 0.3.6 pypi_0 pypi more-itertools 10.4.0 pypi_0 pypi mpc 1.3.1 h24ddda3_0 conda-forge mpfr 4.2.1 h38ae2d0_2 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge msgpack-python 1.0.8 py310h25c7140_0 conda-forge mudata 0.3.1 pyhd8ed1ab_0 conda-forge multidict 6.0.5 py310h2372a71_0 conda-forge multipledispatch 0.6.0 pyhd8ed1ab_1 conda-forge multiprocess 0.70.16 py310ha75aee5_1 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge natsort 8.4.0 pyhd8ed1ab_0 conda-forge nbclient 0.10.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.16.4 pyhd8ed1ab_1 conda-forge nbformat 5.10.4 pyhd8ed1ab_0 conda-forge nccl 2.22.3.1 hee583db_1 conda-forge ncurses 6.5 he02047a_1 conda-forge nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge networkx 3.3 pyhd8ed1ab_1 conda-forge nodejs 20.12.2 hb753e55_0 conda-forge notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge nspr 4.35 h27087fc_0 conda-forge nss 3.100 hca3bf56_0 conda-forge numba 0.60.0 py310h5dc88bb_0 conda-forge numpy 1.24.4 pypi_0 pypi numpy-groupies 0.11.2 pypi_0 pypi numpyro 0.15.2 pyhd8ed1ab_0 conda-forge nvcomp 3.0.6 h56904bc_0 conda-forge nvtx 0.2.10 py310h2372a71_0 conda-forge omicverse 1.6.5 pyhd8ed1ab_0 https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge omnipath 1.0.8 pypi_0 pypi openjpeg 2.5.2 h488ebb8_0 conda-forge openpyxl 3.1.5 py310h2372a71_0 conda-forge openssl 3.3.1 hb9d3cd8_3 conda-forge opt-einsum 3.3.0 hd8ed1ab_2 conda-forge opt_einsum 3.3.0 pyhc1e730c_2 conda-forge optax 0.2.2 pyhd8ed1ab_0 conda-forge orbax-checkpoint 0.4.4 pyhd8ed1ab_0 conda-forge orc 2.0.0 h17fec99_1 conda-forge overrides 7.7.0 pyhd8ed1ab_0 conda-forge packaging 24.1 pyhd8ed1ab_0 conda-forge pandas 1.5.3 pypi_0 pypi pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge panel 1.4.5 pyhd8ed1ab_0 conda-forge pango 1.52.1 ha41ecd1_0 conda-forge param 2.1.1 pyhff2d567_0 conda-forge parso 0.8.4 pyhd8ed1ab_0 conda-forge partd 1.4.2 pyhd8ed1ab_0 conda-forge patsy 0.5.6 pyhd8ed1ab_0 conda-forge pcre2 10.42 hcad00b1_0 conda-forge pexpect 4.9.0 pyhd8ed1ab_0 conda-forge pgmpy 0.1.24 py310hff52083_1 conda-forge phate 1.0.11 pypi_0 pypi pickleshare 0.7.5 py_1003 conda-forge pillow 10.3.0 py310hf73ecf8_0 conda-forge pip 24.2 pyh8b19718_1 conda-forge pixman 0.43.2 h59595ed_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 4.2.2 pyhd8ed1ab_0 conda-forge plotly 5.24.0 pyhd8ed1ab_0 conda-forge plotnine 0.12.0 pypi_0 pypi poppler 23.12.0 h590f24d_0 conda-forge poppler-data 0.4.12 hd8ed1ab_0 conda-forge postgresql 16.3 h8e811e2_0 conda-forge progressbar2 4.5.0 pyhd8ed1ab_0 conda-forge proj 9.3.0 h1d62c97_2 conda-forge prometheus_client 0.20.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.47 pyha770c72_0 conda-forge protobuf 4.25.3 py310h0e2eeba_1 conda-forge psutil 6.0.0 py310hc51659f_0 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptxcompiler 0.8.1 py310h70a93da_2 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.3 pyhd8ed1ab_0 conda-forge py-xgboost 2.0.3 rapidsai_pyhf96fb25_2 rapidsai pyarrow 14.0.2 py310hd207890_19_cpu conda-forge pyarrow-hotfix 0.6 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd8ed1ab_3 conda-forge pycairo 1.26.1 py310he029307_0 conda-forge pycomplexheatmap 1.7.6 pypi_0 pypi pycparser 2.22 pyhd8ed1ab_0 conda-forge pyct 0.5.0 pyhd8ed1ab_0 conda-forge pydeseq2 0.3.6 pypi_0 pypi pyee 8.1.0 pyhd8ed1ab_0 conda-forge pygam 0.8.0 pypi_0 pypi pygments 2.18.0 pyhd8ed1ab_0 conda-forge pygsp 0.5.1 pypi_0 pypi pylibcugraph 24.02.00 cuda11_py310_240213_g3e5f47d0f_0 rapidsai pylibraft 24.02.00 cuda11_py310_240212_g698d6c7b_0 rapidsai pymde 0.1.18 pypi_0 pypi pynndescent 0.5.13 pyhff2d567_0 conda-forge pynvml 11.4.1 pyhd8ed1ab_0 conda-forge pyogrio 0.7.2 py310h0a1e91f_1 conda-forge pyparsing 3.1.4 pyhd8ed1ab_0 conda-forge pyppeteer 1.0.2 pyhd8ed1ab_0 conda-forge pyproj 3.6.1 py310h32c33b7_4 conda-forge pyro-api 0.1.2 pyhd8ed1ab_0 conda-forge pyro-ppl 1.9.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.10.14 hd12c33a_0_cpython conda-forge python-annoy 1.17.3 py310h76e45a6_1 https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge python-circos 0.3.0 pypi_0 pypi python-confluent-kafka 1.9.2 py310h5764c6d_2 conda-forge python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge python-dotplot 0.0.1 pypi_0 pypi python-fastjsonschema 2.20.0 pyhd8ed1ab_0 conda-forge python-igraph 0.11.5 py310h0d84dc0_1 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-utils 3.8.2 pyhd8ed1ab_0 conda-forge python_abi 3.10 5_cp310 conda-forge pytorch 2.4.0 cuda118_py310h954aa82_301 conda-forge pytorch-cuda 11.8 h7e8668a_5 pytorch pytorch-lightning 2.4.0 pyhd8ed1ab_0 conda-forge pytorch-mutex 1.0 cuda pytorch pytorch_geometric 2.5.3 pyhd8ed1ab_1 conda-forge pytz 2024.1 pyhd8ed1ab_0 conda-forge pyviz_comms 3.0.3 pyhd8ed1ab_0 conda-forge pywavelets 1.7.0 py310h91a95bf_0 conda-forge pyyaml 6.0.2 py310h5b4e0ec_0 conda-forge pyzmq 26.2.0 py310h71f11fc_0 conda-forge raft-dask 24.02.00 cuda11_py310_240212_g698d6c7b_0 rapidsai rapids 24.02.00 cuda11_py310_240213_g77edc05_0 rapidsai rapids-dask-dependency 24.02.00 0 rapidsai rapids-singlecell 0.10.8 pypi_0 pypi rapids-xgboost 24.02.00 cuda11_py310_240213_g77edc05_0 rapidsai rav1e 0.6.6 he8a937b_2 conda-forge rdflib 7.0.0 pyhd8ed1ab_0 conda-forge rdkit 2024.03.5 py310h57e35d3_3 conda-forge rdma-core 53.0 he02047a_0 conda-forge re2 2023.09.01 h7f4b329_2 conda-forge readline 8.2 h8228510_1 conda-forge referencing 0.35.1 pyhd8ed1ab_0 conda-forge reportlab 4.2.2 py310hc51659f_0 conda-forge requests 2.32.3 pyhd8ed1ab_0 conda-forge requests-cache 1.2.1 pypi_0 pypi rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rich 13.7.1 pyhd8ed1ab_0 conda-forge rlpycairo 0.2.0 pyhd8ed1ab_0 conda-forge rmm 24.02.00 cuda11_py310_240212_g09b406c1_0 rapidsai rpds-py 0.20.0 py310h42e942d_0 conda-forge s-gd2 1.8.1 pypi_0 pypi s2n 1.4.13 he19d79f_0 conda-forge scanpy 1.10.2 pyhd8ed1ab_0 conda-forge scikit-image 0.20.0 py310h9b08913_1 conda-forge scikit-learn 1.5.1 py310h146d792_0 conda-forge scikit-misc 0.5.1 pypi_0 pypi scipy 1.11.4 py310hb13e2d6_0 conda-forge scprep 1.0.3 pypi_0 pypi scrublet 0.2.3 pyh5e36f6f_1 bioconda scvelo 0.2.5 pypi_0 pypi scvi-tools 1.1.6 pyhd8ed1ab_1 conda-forge seaborn 0.13.2 hd8ed1ab_2 conda-forge seaborn-base 0.13.2 pyhd8ed1ab_2 conda-forge send2trash 1.8.3 pyh0d859eb_0 conda-forge session-info 1.0.0 pyhd8ed1ab_0 conda-forge setuptools 72.2.0 pyhd8ed1ab_0 conda-forge shapely 2.0.4 py310hec8f0c1_1 conda-forge simpervisor 1.0.0 pyhd8ed1ab_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sleef 3.6.1 h1b44611_3 conda-forge snappy 1.2.1 ha2e4443_0 conda-forge sniffio 1.3.1 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge sparse 0.15.4 pyhd8ed1ab_0 conda-forge spdlog 1.12.0 hd2e6256_2 conda-forge sqlalchemy 2.0.32 py310h5b4e0ec_0 conda-forge sqlite 3.46.0 h6d4b2fc_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge statsmodels 0.14.2 py310h261611a_0 conda-forge stdlib-list 0.10.0 pyhd8ed1ab_0 conda-forge streamz 0.6.4 pyh6c4a22f_0 conda-forge suds-community 0.7.0 pypi_0 pypi svt-av1 2.2.1 h5888daf_0 conda-forge sympy 1.13.2 pypyh2585a3b_103 conda-forge sysroot_linux-64 2.17 h4a8ded7_16 conda-forge tabulate 0.9.0 pyhd8ed1ab_1 conda-forge tasklogger 1.2.0 pypi_0 pypi tbb 2021.12.0 h84d6215_4 conda-forge tblib 3.0.0 pyhd8ed1ab_0 conda-forge tenacity 9.0.0 pyhd8ed1ab_0 conda-forge tensorboard 2.17.1 pyhd8ed1ab_0 conda-forge tensorboard-data-server 0.7.0 py310h75e40e8_1 conda-forge tensorstore 0.1.59 py310hb57fb6d_0 conda-forge termcolor 2.4.0 pyhd8ed1ab_0 conda-forge terminado 0.18.1 pyh0d859eb_0 conda-forge texttable 1.7.0 pyhd8ed1ab_0 conda-forge threadpoolctl 3.5.0 pyhc1e730c_0 conda-forge tifffile 2020.6.3 py_0 conda-forge tiledb 2.18.2 h99f50a1_1 conda-forge tinycss2 1.3.0 pyhd8ed1ab_0 conda-forge tk 8.6.13 noxft_h4845f30_101 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge toolz 0.12.1 pyhd8ed1ab_0 conda-forge torchaudio 2.4.0 py310_cu118 pytorch torchmetrics 1.4.0.post0 pyhd8ed1ab_0 conda-forge torchvision 0.19.0 cuda118py310h6271b08_0 conda-forge tornado 6.4.1 py310ha75aee5_1 conda-forge tqdm 4.66.5 pyhd8ed1ab_0 conda-forge traitlets 5.14.3 pyhd8ed1ab_0 conda-forge treelite 4.0.0 py310h4a6579d_0 conda-forge trimesh 4.4.7 pyhd8ed1ab_0 conda-forge typeguard 4.3.0 pypi_0 pypi types-python-dateutil 2.9.0.20240821 pyhd8ed1ab_0 conda-forge typing-extensions 4.12.2 hd8ed1ab_0 conda-forge typing_extensions 4.12.2 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzcode 2024a h3f72095_0 conda-forge tzdata 2024.1 pypi_0 pypi uc-micro-py 1.0.3 pyhd8ed1ab_0 conda-forge ucx 1.15.0 ha691c75_8 conda-forge ucx-proc 1.0.0 gpu rapidsai ucx-py 0.36.00 py310_240212_g1266b48_0 rapidsai umap-learn 0.5.6 py310hff52083_1 conda-forge unicodedata2 15.1.0 py310h2372a71_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge uriparser 0.9.8 hac33072_0 conda-forge url-normalize 1.4.0 pypi_0 pypi urllib3 1.26.19 pyhd8ed1ab_0 conda-forge wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge webcolors 24.8.0 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.8.0 pyhd8ed1ab_0 conda-forge websockets 10.4 py310h5764c6d_1 conda-forge werkzeug 3.0.4 pyhd8ed1ab_0 conda-forge wget 3.2 pypi_0 pypi wheel 0.44.0 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.13 pyhd8ed1ab_0 conda-forge wrapt 1.16.0 py310ha75aee5_1 conda-forge xarray 2024.3.0 pyhd8ed1ab_0 conda-forge xerces-c 3.2.5 hac6953d_0 conda-forge xgboost 2.0.3 rapidsai_pyh8da2078_2 rapidsai xmltodict 0.13.0 pypi_0 pypi xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.1.1 hd590300_0 conda-forge xorg-libsm 1.2.4 h7391055_0 conda-forge xorg-libx11 1.8.9 h8ee46fc_0 conda-forge xorg-libxau 1.0.11 hd590300_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h0b41bf4_2 conda-forge xorg-libxrender 0.9.11 hd590300_0 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-xextproto 7.3.0 h0b41bf4_1003 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xyzservices 2024.6.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge yaml 0.2.5 h7f98852_2 conda-forge yarl 1.9.4 py310h2372a71_0 conda-forge zeromq 4.3.5 h75354e8_4 conda-forge zict 3.0.0 pyhd8ed1ab_0 conda-forge zipp 3.20.1 pyhd8ed1ab_0 conda-forge zlib 1.2.13 h4ab18f5_6 conda-forge zope-event 5.0 pypi_0 pypi zope-interface 7.0.3 pypi_0 pypi zstd 1.5.6 ha6fb4c9_0 conda-forge

Note: you may need to restart the kernel to use updated packages.

Starlitnightly commented 1 month ago

@DBinary Use the official tutorials to see if you can reproduce this issue. note that you need to use the latest version of pandas, numpy and scanpy and not test in an older environment

DBinary commented 3 weeks ago

This bug has been reported here: https://github.com/owkin/PyDESeq2/pull/307

Starting from v0.10.9, anndata no longer supports pandas DataFrames or Series in varm fields. Fortunately, PyDeseq2 has addressed this bug in v0.4.11. I recommend updating your PyDeseq2 to v0.4.11 to resolve this issue.

Best wishes, Lei

DBinary commented 3 weeks ago

This bug has been fixed in the latest version of OmicVerse.