Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda config #12

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,7 @@ testingenv/
HPAv18RBGY_wodpl.csv
HPAv18/
download_images.py
settings.json
settings.json

data/
results/
17 changes: 15 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,29 @@ up an issue here on Github or by contacting @cwinsnes.

== Installation and Setup
NOTE: It is recommended to run the module in a separate virtual environment
such as https://www.anaconda.com/[Anaconda] or
such as https://conda.io/projects/conda/en/latest/user-guide/install/linux.html[miniconda] or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should link to the Miniconda page rather than the linux install.

https://docs.anaconda.com/free/miniconda/

https://docs.python.org/3/library/venv.html[venvs]
to avoid any issues with package versions.

Installing the required modules for this package can be done through `pip`.
If using miniconda, the environment can be installed by running:
[,bash]
----
python env create -f environment.yml
----

After your environment is created, activate it with:
[,bash]
----
conda activate cm4ai-hpa
----

Or after creating a separate environment, the required modules can be installed with `pip`.
[,bash]
----
python -m pip install -r requirements.txt
----


=== Data
The model requires the input images to be stored in the following way:

Expand Down
11 changes: 11 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: cm4ai-hpa
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not entirely sure on this default name. What does cm4ai mean?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CM4AI is Cell Maps for AI - the name of our DGP within Bridge2AI

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cwinsnes Sorry that we forgot to inform you! The CM4AI project is a new large collaborative project that the lundberg lab runs with several other collaborators across the U.S. (e.g., also the Ideker lab). The purpose is to build more and better MuSIC maps. We used the HPA densenet in a hackathon that was part of the CM4AI project and @wadeschulz has been incorporating the densenet into an Azure platform for the hackathon. To do that he had to do a few changes and then I encouraged Wade to send these also as a pull request since I thought these could be helpful for other users in the future. Thank you that you replied @cwinsnes and discuss it!


channels:
- defaults

dependencies:
- python=3.10
- pip

- pip:
- -r requirements.txt