Skip to content

kglotfelty/AdaptiveBin

Repository files navigation

Banner

Adaptive Binning Routines

This repo contains several adaptive binning routines for use in CIAO. These include

  • contour_map : follows local contours
  • dragon_scales : overlapping shapes
  • grow_from_max : Voronoi tesselation map
  • hexgrid : regular hexagonal grid
  • mkregmap : stack of regions to a map
  • pathfinder : steepest ascent
  • centroid_map : iterative centroid map

Users may also be interested in the compiled tools

These are C programs that need to be built into your CIAO installation. (You do not have to build all of CIAO or even have the CIAO source code installed).

Installation

Users must have CIAO installed and have already sourced the setup script.
Then if you installed CIAO using conda just

git clone https://github.com/kglotfelty/AdaptiveBin
cd AdaptiveBin
python setup.py install 

or if you installed CIAO using ciao-install then

git clone https://github.com/kglotfelty/AdaptiveBin
cd AdaptiveBin
python setup.py build -f -e "/usr/bin/env python" install -f --prefix=$ASCDS_CONTRIB

You will then need to re-index your ahelp to get access to the help files

ahelp -r

Banner

In the banner image above, from left to right we have original data, dmnautilus (original), contour_map, grow_from_max, pathfinder, dragon_scales, hexmap, mkregmap, centroid_map, and dmradar