Frederik Filip Stæger 26251fd035 gin commit from SUND33778 5 gadi atpakaļ
..
README.md 26251fd035 gin commit from SUND33778 5 gadi atpakaļ
co_registration.py 26251fd035 gin commit from SUND33778 5 gadi atpakaļ
helper_functions.py 26251fd035 gin commit from SUND33778 5 gadi atpakaļ
main.py 26251fd035 gin commit from SUND33778 5 gadi atpakaļ
slice_to_template.py 26251fd035 gin commit from SUND33778 5 gadi atpakaļ
template_creation.py 26251fd035 gin commit from SUND33778 5 gadi atpakaļ

README.md

DAPI template pipeline

The original pipeline for pre-processing, reconstructing, and template creation of the DAPI template.

Description

The reconstruction and template creation was run twice. First with the allen reference atlas as reference without non-linear registration steps resulting in an initial DAPI template. The initial DAPI template was used as reference (instead of the Allen reference atlas) in the second run of reconstruction and template creation, resulting in the final DAPI template. The two runs of the pipeline were manually modified.

This pipeline is based on the original data structure of the slice images with a few sanity checks to make sure that all images are present. To run this pipeline with the data structure from the GIN-repository you need to remove these sanity checks, get the mouse ids from a different directory (like tif/), and get all the image paths in each individual tif folder.

Overview

The main script calls the pre_processing, co_registration, and template_creation with appropriate parameters and paths. In pre_processing the original tif image is down-sampled to 8.6x8.6 um and masked according to the biggest (except background) connected component after smoothing and threshold to remove artefact outside of the brain slice. After pre-processing the slices for each brain is reconstructed into 3-dimensional brain volumes. This reconstruction is carried out by iterative registrations (both between volumes and between slice-pairs) to a reference (Allen or DAPI from first iteration). Finally, each reconstructed brain volume is used in the creation of a population-based average in template_creation.

Packages

This pipeline uses the following non-standard packages (package name: version):

nibabel: 2.1.0
nipype: 0.13.1
numpy: 1.15.1
PIL: 5.1.0
scipy: 1.1.0
skimage: 0.14.0
sklearn: 0.19.2

Registration software

A precompiled binary of Advanced Normalization Tools (ANTs) V.2.1.0 for linux/mac was used.

datacite.yml
Title Example Title
Authors Stæger,Frederik Filip;Affiliation1;ORCID:0000-0001-2345-6789
FamilyName2,GivenName2;Affiliation2;ResearcherID:X-1234-5678
FamilyName3,GivenName3
Description Example description that can contain linebreaks but has to maintain indentation.
License Creative Commons CC0 1.0 Public Domain Dedication (https://creativecommons.org/publicdomain/zero/1.0/)
References PublicationName1 [doi:10.xxx/zzzz] (IsSupplementTo)
PublicationName2 [arxiv:mmmm.nnnn] (IsSupplementTo)
PublicationName3 [pmid:nnnnnnnn] (IsReferencedBy)
Funding DFG, DFG.12345
EU, EU.12345
Keywords Neuroscience
Electrophysiology
Resource Type Dataset