-
Notifications
You must be signed in to change notification settings - Fork 8
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
Hard-coded CCFv2 slice numbers for gene markers should be removed and set as an input parameter #66
Comments
Can you point me to such a file?
The main README is quite large, but there is this: I think it would be good to move away from needing the I'm envisioning something like:
|
Here is an example of the attached gene marker JSON file produced by the
Absolutely.
Great this would be valuable. |
…verage-densities` command * The updated command doesn't require a combine_markers_ccfv2_config.yaml * Instead, the command line has: --marker=pv:868:PATH/TO/pvalb.nrrd \ --marker=sst:1001:PATH/TO/SST.nrrd \ --marker=vip:77371835:PATH/TO/VIP.nrrd \ --marker=gad67:479:PATH/TO/gad1.nrrd \ --realigned-slices=atlas_densities/app/data/markers/realigned_slices_ccfv2.json \ --cell-density-standard-deviations=atlas_densities/app/data/measurements/std_cells.json \ * As discussed in: #66
I made the change here: |
This does not change the behavior of the code, just how you pass parameters right? So you should not need my help / aproval on that one. |
That is correct, unless I have made a mistake. |
The
fit_average_densities
command takes an indirect input which isrealigned_slices_ccfv2.json
viafit_average_densities_ccfv2_config.yaml
(see https://github.com/BlueBrain/atlas-densities/tree/main/atlas_densities/app/data/markers).However, this file (
realigned_slices_ccfv2.json
) embeds hard-coded slice coordinates in CCFv2 for manually chosen experiment IDs among the Allen ISH data portal for each used marker.First, this prevents any genericity in the input gene markers one user can give to the pipeline, where one must use these exact same data if we want the pipeline to work properly. Second, one
atlas-densities
user does not know such coordinates are used as it is hidden infit_average_densities_ccfv2_config.yaml
and no documentation is provided in the main README.This is at the junction between the
deep-atlas-pipeline
and theatlas-densities
pipeline. Actually, in addition to providing the realigned slices, thedeep-atlas-pipeline
is producing an attached JSON file with the slice coordinates of whatever selected gene ID you want.What I suggest:
realigned_slices_ccfv2.json
and add it at the beginning of thefit_average_densities
process,realigned_slices_ccfv2.json
as a direct input file to give to thefit_average_densities
command,The text was updated successfully, but these errors were encountered: