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

Cleanup pc preprocessing #79

Merged
merged 4 commits into from
Dec 13, 2024

Conversation

ritvikvasan
Copy link
Collaborator

@ritvikvasan ritvikvasan commented Dec 12, 2024

This PR cleans up the preprocessing scripts for generating point clouds for punctate structures after the image_preprocessing is done. Tested on the outputs of the image_preprocessing step.

For the PCNA dataset, run

python src/br/data/preprocessing/pc_preprocessing/pcna --save_path "./make_pcs_test" --preprocessed_manifest "./subpackages/image_preprocessing/tmp_output_pcna/processed/manifest.parquet" --global_path "./subpackages/image_preprocessing/"

For nuclear structures from the variance dataset, run

python src/br/data/preprocessing/pc_preprocessing/punctate_nuc.py --save_path "./make_pcs_test" --preprocessed_manifest "./subpackages/image_preprocessing/tmp_output_variance/processed/manifest.parquet" --global_path "./subpackages/image_preprocessing/"

For cytoplasmic structures from the variance dataset, run
python src/br/data/preprocessing/pc_preprocessing/punctate_cyto.py --save_path "./make_pcs_test" --preprocessed_manifest "./subpackages/image_preprocessing/tmp_output_variance/processed/manifest.parquet" --global_path "./subpackages/image_preprocessing/"

Copy link
Collaborator

@pgarrison pgarrison left a comment

Choose a reason for hiding this comment

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

Super!

Copy link
Collaborator

@fatwir fatwir left a comment

Choose a reason for hiding this comment

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

I was able to run preprocessing for the PCNA dataset!

@ritvikvasan ritvikvasan merged commit 877ae43 into visualize_pointclouds Dec 13, 2024
1 check passed
@ritvikvasan ritvikvasan deleted the cleanup_pc_preprocessing branch December 13, 2024 16:20
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.

3 participants