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

Adding normalize step to recipe #16

Merged
merged 2 commits into from
May 29, 2020

Conversation

gwaybio
Copy link
Member

@gwaybio gwaybio commented May 28, 2020

Here, we add the normalization step to the pooled cell painting recipe. We use pycytominer.normalize() to perform the normalization, and we include all options in an updated config file.

I describe a very important TODO/caveat/improvement in #15 - The script works and will keep us marching forward, but we should stop and think about this single-cell problem soon.

---
normalize:
perform: true
output_basedir: data/profiles
Copy link
Member

@ErinWeisbart ErinWeisbart May 29, 2020

Choose a reason for hiding this comment

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

Everywhere else so far we've set config defaults to single folders instead of nested folders.
Do we need to maintain this in case someone is working in an OS that uses \ not / ? Though I guess we have / at the end of all of our paths, so never mind on that remark.
I guess I just want to point this out and it's not necessarily a problem.

Copy link
Member Author

Choose a reason for hiding this comment

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

great catch - yes this is definitely something to be mindful of. Fortunately, pathlib is great and will take care of that issue under the hood.

Copy link
Member Author

Choose a reason for hiding this comment

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

Also note that we are modeling the directory structure in this project from cytomining/profiling-handbook#54 (comment)

Copy link
Member

@ErinWeisbart ErinWeisbart left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@gwaybio gwaybio merged commit 1608f20 into broadinstitute:master May 29, 2020
@gwaybio gwaybio deleted the add-normalize branch May 29, 2020 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants