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

Supp reconstructions #69

Merged
merged 11 commits into from
Dec 3, 2024
Merged

Supp reconstructions #69

merged 11 commits into from
Dec 3, 2024

Conversation

ritvikvasan
Copy link
Collaborator

@ritvikvasan ritvikvasan commented Dec 3, 2024

This PR adds supplemental reconstruction figure creation code:

  1. For the NPM1 dataset and other polymorphic structures, run

python src/br/analysis/save_reconstructions.py --save_path "./outputs_npm1/reconstructions/" --dataset_name "npm1" --test_ids 964798 661110 644401 967887 703621 --generate_reconstructions True --sdf True

and

python src/br/analysis/save_reconstructions.py --save_path "./outputs_other_polymorphic/reconstructions/" --dataset_name "other_polymorphic" --test_ids 691110 723687 816468 800894 --generate_reconstructions True --sdf True

this produces the following figure for the NPM1 dataset

Screen Shot 2024-12-02 at 4 40 51 PM

  1. For the PCNA dataset, other punctate structures dataset, and cellPACK dataset, run

python src/br/analysis/save_reconstructions.py --save_path "./outputs_pcna/reconstructions/" --dataset_name "pcna" --generate_reconstructions True --sdf False --normalize_across_recons True

python src/br/analysis/save_reconstructions.py --save_path "./outputs_other_punctate/reconstructions/" --dataset_name "other_punctate" --generate_reconstructions True --normalize_across_recons False --sdf False

python src/br/analysis/save_reconstructions.py --save_path "./outputs_cellpack/reconstructions/" --dataset_name "cellpack" --generate_reconstructions True --sdf False

This produces many panels like the following

Screen Shot 2024-12-02 at 4 42 48 PM
Screen Shot 2024-12-02 at 4 42 43 PM

Addresses #2 - for figs S3, S4, S6, S7, S9, S10

Copy link
Collaborator

@vianamp vianamp left a comment

Choose a reason for hiding this comment

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

Nice clean up.

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.

LGTM! I was able to generate all the figures!

@ritvikvasan ritvikvasan merged commit cda3812 into main Dec 3, 2024
1 check passed
@ritvikvasan ritvikvasan deleted the supp_reconstructions branch December 3, 2024 21:38
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