Comments (12)
Yes! And thank you so much for your help with all of this. I will be re-trying this tomorrow on a cluster environment, and this will help me tons. I will keep you posted!
from cellex.
from cellex.
Hi!
Could you add the command that resulted in this error, to see if I can reproduce it?
Thanks in advance.
from cellex.
Yes! The command was 'pip install -e'. I was going through the walkthrough on https://github.com/perslab/CELLEX , using Option B on the setup
from cellex.
How odd. I am having trouble reproducing the error. Does my approach differ from yours?
Alternatively β how does it work for you installing directly from PyPi? I.e.
pip install cellex
The development version matches the release version ATM, so there's not much to gain by installing from the development branch.
from cellex.
Hmm, I gave both a try (both the way you did it in the gif and installing cellex via pip) and neither worked :/ i'm thinking it may be the version of python my terminal is set up with.... what version is used?
from cellex.
Bummer, but we'll just have to try something else then :-) and thank you for your patience in that regard.
CELLEX has been developed for use in a Python 3 environment.
I generally use conda environments (miniconda3) to manage the installation. Here's what I do step by step in my terminal:
# create environment
conda create --no-default-packages --name myenv python
# activate env
source activate myenv
# check python version, should be >3.8
python --version
# install cellex β various dependencies will be installed first
pip install cellex
# test installation in interactive python
python
>>> import cellex
>>>
If this does not help, could you provide my some more details about your system and each step you do to produce the error?
from cellex.
Hi again Vidal,
Have you made any progress on this issue?
from cellex.
Hello Tobias,
Just following up, what are the bare minimum requirements in terms of software (IE python, snakemake, etc.) and versions to run CELLECT/CELLEX? We are working with our clustering management team to download any necessary software, so I want to make sure have all that up front :)
from cellex.
Hi again Vidal!
CELLECT/CELLEX were developed on a server, so I'm not entirely sure how it will behave if run on a cluster β nevertheless ...
We have sought to make both CELLECT and CELLEX self-contained. Ideally the environment manager (conda) and package manager (pip) should take care of everything, i.e. installing dependencies. The workflow is essentially: 1) create a virtual environment, 2) install the needed dependencies in the environment, 3) run the analysis. Therefore I would recommend that you start off with the most recent version of conda
, pip
and python3
.
For CELLEX
- Get conda
- Create a new python3 environment and activate it
- Run
pip install cellex
, which will also install the required dependencies. - Play around with CELLEX
For CELLECT
- (Get conda)
- Follow this tutorial.
- Step 1: The principle is almost the same as for CELLEX. To run the GWAS munge workflow, you create an environment (including all dependencies) as specified in this settings file.
- Step 2: Run CELLEX
- Step 3: Once again, create a new environment with snakemake (
pip install snakemake
for the most recent version).
If this doesn't work out, I'll try and get an expert opinion from the CELLECT devs or our server admin :-)
from cellex.
Tobias - thank you so much for all of this info! I am also sorry that this has taken a lot of effort and time on your end without much output on our end yet. I am realizing that a lot of these issues are actually driven by my current cluster access situation, so I am going to work within my group to solve those. I will reach out again if I think there is a larger issue - but for the time being I'm set :) thank you and take care!
from cellex.
Hi! Thanks for following up and don't worry β I'm happy to help :-)
Don't hesitate to file a new issue if needed. Take care!
from cellex.
Related Issues (20)
- Can not generate n_es_gene plot
- Memory usage needs to be optimized HOT 2
- Reading in data with pandas in a server setting is slow. How can I speed this up? HOT 4
- .txt.gz files for "mapping"-functions are not found HOT 1
- Update parameter name in CELLEX wiki HOT 1
- Improve mapping documentation HOT 3
- Make tutorial for how to import data from H5ad/loom(/Seurat)
- Additional methods for gene filtering
- Warn if negative gene expression values
- parse_input does not detect invalid metadata value types HOT 5
- IndexError: tuple index out of range HOT 1
- gene mapping function: from symbol to ensembl HOT 3
- eso.results[βesmuβ] data.frame lacks index column name HOT 1
- [BUG]: MissingOutputException in line 200 of /home/wbone/CELLECT/cellect-ldsc.snakefile:
- Metadata_class use HOT 6
- [BUG]: Error saving summary data HOT 3
- Load input data as sparse matrix HOT 2
- [BUG]:Error running eso.compute HOT 2
- [BUG]: Operands could not be broadcast together with shapes (15831,12) (15831,15830,13) HOT 3
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 cellex.