Code for AMap project.
This repository aims to enable projection of tissue blocks registrered to a source organ to a new reference organ (usually the Human Reference Atlas, part of HuBMAP).
-
Clone the repository with
git clone https://github.com/cns-iu/hra-amap.git
-
Clone the repository
git clone https://github.com/ohirose/bcpd.git
that implements the Bayesian Coherent Point Drift algorithm based on the following paper A Bayesian Formulation of Coherent Point Drift. The repository is ~1GB in file size hence it is not shipped with our repository and requires additional setup:-
For Windows
- No setup required.
-
For MacOS and Linux
-
Install the OpenMP and the LAPACK libraries if not installed. For MacOS, make sure XCode is installed.
-
Type
make OPT=-DUSE_OPENMP ENV=<your-environment>
. Substitute<uyour-environment>
withLINUX
for Linux,HOMEBREW_INTEL
for Intel Macs andHOMEBREW
for Macs with Apple Silicon.
-
-
-
Ensure that the two repositories (hra-amap and bcpd) are at the same root level.
-
To run a quick registration using the provided pipeline, please see
notebooks/pipeline_usage