Giter VIP home page Giter VIP logo

gubra-aps / brain-distribution Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 29 KB

A toolbox for quantification and registration of volumetric data from cleared tissue to a reference brain atlas. The toolbox is developed for large light sheet volumetric data from solvent based cleared mouse brain samples. The method is described in ref paper.

License: GNU General Public License v3.0

Python 100.00%

brain-distribution's Introduction

brain-distribution

A toolbox for quantification and registration of volumetric data from cleared tissue to a reference brain atlas. The toolbox is developed for large light sheet volumetric data from solvent based cleared mouse brain samples. The method is described in ref paper.

Files needed to use the pipeline can be downloaded here: https://www.neuropedia.dk/resource/uncovering-cns-access-of-lipidated-exendin-4-analogues-by-quantitative-whole-brain-3d-light-sheet-imaging/

The pipeline uses Elastix for registration. Elastix binaries can be found here: https://elastix.lumc.nl/download.php

brain-distribution's People

Contributors

gubra-aps avatar

Stargazers

 avatar

Watchers

 avatar

brain-distribution's Issues

some files are not created during registration step

Dear developers,

I've been trying to use the distribution code that you provided.

I'm running the script from my windows machine in VScode with python 3.9 and created a specific conda environment with necessary libraries (had to import the move function from the shutil library in addition).

Going through the registration step using Elastix, an error occurs in with the following command :

hu_a2s.registration(params=params_affine, result_name=file_a2s_affine, datatype='uint8')

the error being :

FileNotFoundError: [Errno 2] No such file or directory: './elastix_folder/workingDir/TransformParameters.0.txt'

Indeed the TransformParameters.0.txt is not being created and therefore raises an error when called in the following function :

move(self.elastix_path + r'/workingDir/TransformParameters.0.txt', os.path.join(self.result_path,result_name + r'.txt'))

The same goes for the expected result.0.nii.gz file in the command

move(self.elastix_path + r'/workingDir/result.0.nii.gz', os.path.join(self.result_path,result_name + r'.nii.gz'))

Could you provide some insight on how to create those files maybe modifying the affine_mouse_atlas_v6.1.txt file.

I can provide the log file from the registration here : https://filesender.switch.ch/filesender2/?s=download&token=23f95857-542a-4387-a57f-f4b987e7cfc7

the workingDir contains the following files :

Capture

Appreciate your help !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.