Giter Site home page Giter Site logo

Comments (7)

Cnrdelaney avatar Cnrdelaney commented on September 14, 2024 1

Hello!

Thanks for reaching out, I think I have the solution. The 'mhg_cython' install is a codependency with the xlmhg package, which we use as our statistical test. I believe the xlmhg package is currently only supported by python 3.6 versions and it is very much necessary for the tool to run. If you use a python 3.6 virtual environment it should install correctly and work from there. Double-back here if you run into more issues!

from cometsc.

MeromitSinger avatar MeromitSinger commented on September 14, 2024 1

Please see "Installing via a Virtual Environment" in our documentation:
https://hgmd.readthedocs.io/en/latest/quickstart.html
and let us know if that doesn't work for you.

from cometsc.

tilofrei avatar tilofrei commented on September 14, 2024 1

Switching back to python3.6 did the trick indeed - thank you for your quick help @Cnrdelaney and @MeromitSinger!

(In case anybody else is using scanpy for scRNAseq data exploration, this is the export formatting I used:)

# markers.txt
markers = pd.DataFrame(data=adata.T.X, index=adata.var_names, columns=adata.obs_names)
markers.to_csv('markers.txt', sep='\t', index_label=False)

# vis.txt
vis = pd.DataFrame(data=adata.obsm['X_draw_graph_fa'], index=adata.obs_names)
vis.to_csv('vis.txt', header=False, sep='\t')

# cluster.txt
cluster = pd.DataFrame(data=adata.obs['cluster'], index=adata.obs_names)
cluster.to_csv('cluster.txt', header=False, sep='\t')

from cometsc.

MeromitSinger avatar MeromitSinger commented on September 14, 2024

Thanks @tilofreiwald ! We indeed intend for COMET to be a simple expansion from scanpy, and your input is appreciated :-)

from cometsc.

EannaFennell avatar EannaFennell commented on September 14, 2024

Hello,
I'm getting the exact same error using Python 3.6.10.
I have a conda environment instead of virtualenv though, should this matter?

from cometsc.

kevinwang09 avatar kevinwang09 commented on September 14, 2024

Dear maintainer, I am wondering if anything can be done about supporting Python3.7 and beyond? Looking at this schedule, it looks like Python3.6 will no longer be supported at the end of this year. https://www.python.org/downloads/. Thank you.

from cometsc.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.