Skip to content

Commit 1642858

Browse files
adamltysongitbook-bot
authored andcommitted
GitBook: [master] 3 pages modified
1 parent 3c766b4 commit 1642858

File tree

3 files changed

+54
-10
lines changed

3 files changed

+54
-10
lines changed

SUMMARY.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@
4242
* [Error messages](troubleshooting/error-messages.md)
4343
* [cellfinder is slow](troubleshooting/cellfinder-is-slow.md)
4444

45-
## amap
46-
47-
* [Introduction](amap/introduction.md)
48-
* [Installation](amap/installation.md)
49-
* [User guide](amap/getting-started/README.md)
50-
* [Image orientation](amap/getting-started/image-orientation.md)
51-
* [Registration parameters](amap/getting-started/registration-parameters.md)
52-
* [Downloading files](amap/downloading-files.md)
53-
5445
## neuro
5546

5647
* [Introduction](neuro/introduction.md)
@@ -89,3 +80,12 @@
8980
* [neuro](https://github.com/SainsburyWellcomeCentre/neuro)
9081
* [brainreg](https://github.com/brainglobe/brainreg)
9182

83+
## amap
84+
85+
* [Introduction](amap/introduction.md)
86+
* [Installation](amap/installation.md)
87+
* [User guide](amap/getting-started/README.md)
88+
* [Image orientation](amap/getting-started/image-orientation.md)
89+
* [Registration parameters](amap/getting-started/registration-parameters.md)
90+
* [Downloading files](amap/downloading-files.md)
91+

amap/introduction.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Introduction
22

3+
{% hint style="danger" %}
4+
**N.B. amap will not be developed further, in favour of** [**brainreg**](https://github.com/brainglobe/brainreg)**, which is based on** [**bg-atlasapi**](https://github.com/brainglobe/bg-atlasapi) **to support multiple species, atlases and resolutions.**
5+
6+
**amap will be supported for existing projects, but if you are starting a new project, please use** [**brainreg**](https://github.com/brainglobe/brainreg)**.**
7+
{% endhint %}
8+
39
{% hint style="info" %}
410
amap is included with cellfinder, and exists as a standalone tool if you do not need the cell detection part
511
{% endhint %}

tutorial/tutorial.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,44 @@
1+
---
2+
description: Getting started with cellfinder
3+
---
4+
15
# Tutorial
26

37
{% hint style="danger" %}
4-
Still a work in progress.
8+
**Still a work in progress. The test data is not yet uploaded**
9+
{% endhint %}
10+
11+
Although cellfinder is designed to be easy to install and use, if you're coming to it with fresh eyes, it's not always clear where to start. We provide an example brain to get you started, and also to illustrate how to play with the parameters to better suit your data.
12+
13+
{% hint style="warning" %}
14+
**The test dataset is large** \(~250GB\). It is recommended that you try this tutorial out on the fastest machine you have, with the fastest hard drive possible \(ideally SSD\) and an NVIDIA GPU. See [System requirements](../installation/system-requirements.md) for more details.
515
{% endhint %}
616

17+
### Instructions
18+
19+
#### Setting up
20+
21+
* First install cellfinder, following the [Installation](../installation/installation.md) guide.
22+
* Download the data from [here](https://gin.g-node.org/cellfinder/data/raw/master/brainreg/test_brain.zip) \(it will take a long time to download\).
23+
* Unzip the data to a directory of your choice \(doesn't matter where\). You should end up with a directory called `test_brain` with two directories, each containing 2800 images.
24+
* Open a terminal \(Linux\) or your command prompt \(Windows\)
25+
* Activate your [conda environment ](../installation/using-conda.md)
26+
27+
{% hint style="info" %}
28+
The test data supplied is purposefully not the "best". It has some artefacts such as fluorescent vasculature, bright spots of the brain surface and stitching artefacts.
29+
30+
The aim of this tutorial is not to show cellfinder performing perfectly, but to illustrate how it deals with less than perfect data, and how to improve the performance.
31+
{% endhint %}
32+
33+
#### Run cellfinder
34+
35+
To run cellfinder, you need to know:
36+
37+
* Where your data is \(in this case, it's the path to the `test_brain` directory\)
38+
* Where you want to save the output data \(we'll just save it into a directory called `cellfinder_output`in the same directory as the `test_brain`\)
39+
* The pixel sizes of your data in microns \(see [Specifying pixel size](../user-guide/usage/specifying-pixel-size.md) for details\). In this case, our data is 2um per pixel in x and y \(in the coronal plane\) and 5um in z \(the spacing of each plane\).
40+
* The orientation of your data. For registration
41+
* Which atlas you want to use \(you can see which are available by running `brainglobe list`. In this case, we want to use a mouse atlas \(as that's what our data is\), and we'll use the 10um version of the [Allen Mouse Brain Atlas](https://mouse.brain-map.org/static/atlas).
42+
43+
44+

0 commit comments

Comments
 (0)