https://github.com/alleninstitute/skeleton_keys

Analysis of neuron morphology skeletons

https://github.com/alleninstitute/skeleton_keys

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 6 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.6%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Analysis of neuron morphology skeletons

Basic Info
  • Host: GitHub
  • Owner: AllenInstitute
  • License: other
  • Language: Python
  • Default Branch: main
  • Size: 5.77 MB
Statistics
  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • Open Issues: 5
  • Releases: 0
Created over 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License

README.md

skeleton keys

This package supports the skeletal analysis of morphologies.

We recommend installing this on Linux or Mac via conda. We aren't generally currently supporting Windows, though there are some scripts which may work and be useful on that platform. This is because we are utilized fenics-dolphix which is not available on Windows.

Installation instructions

clone the repo, setup a conda environment with the proper requirements and activate it

git clone git@github.com:AllenInstitute/skeleton_keys.git
cd skeleton_keys
conda env create -f environment.yml
conda activate skeleton_keys_env

pip install skeleton keys

pip install .

Internal Allen Institute Use

In order to download morphologies from the internal LIMS system, you must set certain environment variables to connect properly. These include

    LIMS_HOST
    LIMS_DBNAME
    LIMS_USER
    LIMS_PASSWORD

Contact the technology team if you need to get credential details to access LIMS.

Scripts

After installation the following console scripts will be available to run from the command line of your environment. To see detailed instructions on each script type the name of the SCRIPT_NAME --help

skelekeys-layer-aligned-swc

script to take a swc file, a polygon definition (representing cortical layers and pia/wm surfaces), a common layer cortical boundary file and produce a swc file that has been remapped to common layer boundaries.

skelekeys-profiles-from-swcs

script to take a directory of layer-aligned swc files, a common layer boundary file and return layer histogram file and a soma depth file for the cells

skelekeys-morph-features

script to take a list of upright cells, a layer histogram file, and a soma depth file, and extract morphological features from those cells in a long format.

This script can be run without upright cells, and/or a layer histogram file, and/or a soma depth file. Just pass in the swc files that you would like to quantify and leave the histogram and soma depth file arguments as the default (None).

skelekeys-postprocess-features

script to take a long form set of features and post-process them to remove zeros and perform zscoring and/or uniform scaling of features.

Statement of Support

This code is an important part of the internal Allen Institute code base and we are actively using and maintaining it. Issues are encouraged, but because this tool is so central to our mission pull requests might not be accepted if they conflict with our existing plans.

Owner

  • Name: Allen Institute
  • Login: AllenInstitute
  • Kind: organization
  • Location: Seattle, WA

Please visit http://alleninstitute.github.io/ for more information.

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 195
  • Total Committers: 6
  • Avg Commits per committer: 32.5
  • Development Distribution Score (DDS): 0.595
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Forrest Collman f****n@g****m 79
Nathan Gouwens n****g@a****g 60
Matt Mallory m****y@a****g 39
emjoyce e****5@g****m 8
emjoyce = 6
Casey Schneider-Mizell c****m@g****m 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 4
  • Total pull requests: 55
  • Average time to close issues: 6 days
  • Average time to close pull requests: about 1 month
  • Total issue authors: 3
  • Total pull request authors: 5
  • Average comments per issue: 0.75
  • Average comments per pull request: 0.09
  • Merged pull requests: 39
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • gouwens (1)
  • gamlinc (1)
Pull Request Authors
  • fcollman (12)
  • MatthewMallory (10)
  • gouwens (7)
  • emjoyce (5)
  • ceesem (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

Dockerfile docker
  • condaforge/mambaforge 4.9.2-5 build
doc/requirements.txt pypi
  • argschema ==3.0.1
  • marshmallow ==3.17.0
  • pydata-sphinx-theme ==0.10.1
  • sphinx ==5.2.3
pyproject.toml pypi
requirements.txt pypi
  • allensdk *
  • argschema *
  • ccf-streamlines *
  • geopandas *
  • neuron-morphology >=1.1.1
  • numpy *
  • pandas *
  • rasterio *
  • scikit-learn *
  • scipy *
  • shapely *
  • task-queue *
setup.py pypi
environment.yml conda
  • boto3 >=1.12.42
  • fenics-dolfinx
  • fenics-libdolfinx
  • geopandas
  • h5py
  • hdf5
  • imageio
  • jinja2 >=3.0
  • numpy >=1.14.2
  • openjpeg
  • pandas
  • pg8000 <2.0.0
  • pip
  • python 3.9.*
  • python-gmsh
  • rasterio
  • scikit-learn
  • scipy
  • shapely
  • six