Alignment by Simultaneous Harmonization of Layer/Adjacency Registration
Project description
# ASHLAR: Alignment by Simultaneous Harmonization of Layer/Adjacency Registration
## Installation (Linux)
ASHLAR is written in Python, but has python dependencies which make use of C.
The recommended way to install ASHLAR is to make use of a fairly comprehensive
distribution of python binaries called miniconda.
Note: Users with an existing python environment may wish to skip the final step
adding the conda bin directory to the `PATH` as this will override the current
for all shells. Instead, the `PATH` can be added as and when needed.
```bash
# Define an installation directory, e.g.
export CONDA_ROOT=/opt/ashlarconda
# Download Minconda (Python 2) installer
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
# Run miniconda installer
sh Miniconda2-latest-Linux-x86_64.sh -b -u -p ${CONDA_ROOT}
# Install conda packages required
${CONDA_ROOT}/bin/conda install -q -y numpy matplotlib networkx pathlib2 \
scipy scikit-image scikit-learn
# Install conda packages from other channels required
${CONDA_ROOT}/bin/conda install -q -y -c conda-forge pyfftw
# Install pip packages required (not available or up-to-date in conda)
${CONDA_ROOT}/bin/pip install -q -U ModestImage javabridge python-bioformats
# Install ASHLAR
${CONDA_ROOT}/bin/pip install -q -U \
git+https://github.com/dpwrussell/ashlar@module
# Make this conda install available on your PATH
echo ${CONDA_ROOT}/bin':$PATH' >> ~/.bashrc
```
## Installation (Windows)
TBD
## Usage
```bash
mosaic <scan_path> [--ffc <flat_field_path>]
```
## Installation (Linux)
ASHLAR is written in Python, but has python dependencies which make use of C.
The recommended way to install ASHLAR is to make use of a fairly comprehensive
distribution of python binaries called miniconda.
Note: Users with an existing python environment may wish to skip the final step
adding the conda bin directory to the `PATH` as this will override the current
for all shells. Instead, the `PATH` can be added as and when needed.
```bash
# Define an installation directory, e.g.
export CONDA_ROOT=/opt/ashlarconda
# Download Minconda (Python 2) installer
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
# Run miniconda installer
sh Miniconda2-latest-Linux-x86_64.sh -b -u -p ${CONDA_ROOT}
# Install conda packages required
${CONDA_ROOT}/bin/conda install -q -y numpy matplotlib networkx pathlib2 \
scipy scikit-image scikit-learn
# Install conda packages from other channels required
${CONDA_ROOT}/bin/conda install -q -y -c conda-forge pyfftw
# Install pip packages required (not available or up-to-date in conda)
${CONDA_ROOT}/bin/pip install -q -U ModestImage javabridge python-bioformats
# Install ASHLAR
${CONDA_ROOT}/bin/pip install -q -U \
git+https://github.com/dpwrussell/ashlar@module
# Make this conda install available on your PATH
echo ${CONDA_ROOT}/bin':$PATH' >> ~/.bashrc
```
## Installation (Windows)
TBD
## Usage
```bash
mosaic <scan_path> [--ffc <flat_field_path>]
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ashlar-1.0.2.tar.gz
(28.8 kB
view details)
File details
Details for the file ashlar-1.0.2.tar.gz
.
File metadata
- Download URL: ashlar-1.0.2.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ee139f663afb0bddfdf00a1c060ce3cdfabf7344d8137c79dac2c8b7cca724b |
|
MD5 | c71dcfadd381c9a5fb62f77749fb1da7 |
|
BLAKE2b-256 | b39ea3389e76c63fd30e719ebd34e74f3cbcf1f982739f3594063f9c5f7eec11 |