-
Notifications
You must be signed in to change notification settings - Fork 38
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
Demba dev mouse #492
base: main
Are you sure you want to change the base?
Demba dev mouse #492
Conversation
That is a lot of atlases! I'd rather not host an atlas-specific api name wizard if we can avoid it. Perhaps something simple like This atlas could perhaps have a dedicated page on the website that could be linked to to outline this in more detail, and provide examples? |
Annoyingly not all resolutions are available for all modalities so the |
But the available resolutions could be listed fairly succinctly right? I'm happy for the DeMBA to take up a few lines in the readme, just not 100's! |
Not a strong opinion, but I quite like the way the 38
FWIW I like this idea |
I have run the validator and it works. This has the same regions as the Allen for P56 and so it's appropriate to copy the Allen ontology. Younger brains should also have the same regions (it is possible that the warping shrunk some into non existence though I haven't check for this). I will update the documentation and then finalise this draft pull request |
See the adjusted validation code attached here as TXT |
Ok I think we can start reviewing this and I'll update the documentation once we've decided how to format the table :) |
Thanks @PolarBean - I am leave most of next week, so review will have to wait until week of 17th, unfortunately. |
That's all good! Enjoy your leave 🏖️ |
@carlocastoldi reminded me that atlases can have multiple reference images (brainglobe/brainglobe.github.io#281 (comment)). For this atlas, would it be possible to resample the reference images and only create one packaged atlas per timepoint? One reference image could be picked as the "main" one, and the others added as additional references. |
I am sorry if i sort of chime here as well, but I think the ~problems i know of Kim DevCCFv1 atlases are similar to those of DeMBA. Namely:
|
I think it's a good idea to resample. But I wouldn't want to upsample only downsample. The reason is that the allen stpt is 10um resolution but the others are not.Iif I were to resample them up this would be misleading to the user as they would have no way of knowing which volumes were 'truely' a particular resolution. In this case we would have three resolutions
|
In regards to the atlases being too big with too many reference volumes. I think the real solution is to only download the reference templates when they are used, instead of downloading all for a particular age. |
but maybe that's for V2 |
Yeah I think so, as it will require both changes to the packaging and the API |
Another limitation of the additional references is that they currently cannot be used as registration targets (IIUC, by the BrainGlobe tools). So for v1 I think we have to keep reference images that we want users to register to in separate atlases (and maybe prioritise moving to v2 rather than adding more v1 atlases altogether, including moving |
That's relatively easily fixed though. There are other considerations here, but we shouldn't let an issue with one tool that we have control over affect how we develop another. |
@PolarBean should I have a look at this yet, or would you like to implement the resampling first? |
It should be good. I am running the atlas generation overnight so if you wish I can notify you once that's done in the morning. Otherwise It's ready. |
Thanks, yea, let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have had a look at the code, and it looks really nice!
I made some nitpicky comments that won't affect the functionality but IMO improve code legibility.
I am running this locally now too, and will approve when validation passes :)
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/demba_dev_mouse.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Alessandro Felder <[email protected]>
FYI the validation worked. See the updated validation script attached as a txt. validation.txt |
We have another version of this atlas which uses the kim developmental segmentations. I'm going to open a second pull request once this one is merged for it. Should I rename this to be demba_dev_allen_seg_mouse and have that one as demba_dev_kim_seg_mouse ? |
Sounds good to me. |
Happy with suggested names too @PolarBean would you be able to share the tar.gz files directly when you're done? |
Yeah I can do that :) |
(I can merge this and wait for your follow-up renaming PR if that's helpful?) |
How about we do the renaming before merging. I like the idea of rarely renaming atlases once they are merged. |
This is to integrate the DeMBA atlases into BrainGlobe. The main thing I would like input on at this stage is the README file. Since there are 53 days of atlases each with multiple modalities it makes the atlas api table huge. What do you think we should do? I could make a html table with filters that is hosted on the brainglobe info page instead of having the table in the README. What are your thoughts?