annotate README.md @ 1:57f1260ca94e draft

"planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
author watsocam
date Fri, 11 Mar 2022 23:40:51 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
1 ![map](/images/coreographbannerv5.png)
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
2
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
3 *Great*....yet **another** TMA dearray program. What does *this* one do?
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
4
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
5 Coreograph uses UNet, a deep learning model, to identify complete/incomplete tissue cores on a tissue microarray. It has been trained on 9 TMA slides of different sizes and tissue types.
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
6
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
7 <img src="/images/raw.jpg" width="425" height="315" /> <img src="/images/probmap.jpg" width="425" height="315" />
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
8
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
9 Training sets were acquired at 0.2micron/pixel resolution and downsampled 1/32 times to speed up performance. Once the center of each core has been identifed, active contours is used to generate a tissue mask of each core that can aid downstream single cell segmentation. A GPU is not required but will reduce computation time.
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
10
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
11 *Coreograph exports these files:**
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
12 1. individual cores as tiff stacks with user-selectable channel ranges
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
13 2. binary tissue masks (saved in the 'mask' subfolder)
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
14 3. a TMA map showing the labels and outlines of each core for quality control purposes
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
15
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
16 ![map](/images/TMA_MAP.jpg)
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
17
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
18 *Instructions for use:**
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
19 `python UNetCoreograph.py`
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
20 1. `--imagePath` : the path to the image file. Should be tif or ome.tif
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
21 2. `--outputPath` : the path to save the above-mentioned files
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
22 3. `--downsampleFactor` : how many times to downsample the raw image file. Default is 5 times to match the training data.
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
23 4. `--channel` : which is the channel to feed into UNet and generate probabiltiy maps from. This is usually a DAPI channel
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
24 5. `--buffer` : the extra space around a core before cropping it. A value of 2 means there is twice the width of the core added as buffer around it. 2 is default
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
25 6. `--outputChan` : a range of channels to be exported. -1 is default and will export all channels (takes awhile). Select a single channel or a continuous range. --outputChan 0 10 will export channel 0 up to (and including) channel 10
57f1260ca94e "planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
watsocam
parents:
diff changeset
26