https://github.com/alleninstitute/biophys_optimize
Optimization of single-cell biophysically detailed models
Science Score: 36.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
4 of 5 committers (80.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.3%) to scientific vocabulary
Repository
Optimization of single-cell biophysically detailed models
Basic Info
- Host: GitHub
- Owner: AllenInstitute
- License: other
- Language: Python
- Default Branch: master
- Size: 1.74 MB
Statistics
- Stars: 15
- Watchers: 8
- Forks: 6
- Open Issues: 3
- Releases: 0
Metadata Files
README.md
biophys_optimize
Optimization of single-cell biophysically detailed models
NWB1 and NWB2 data files
We are transitioning from supporting electrophysiology data files in the NWB1 format to the NWB2 format. New data has been released to the DANDI archive in the newer NWB2 format. We have released IPFX v1.0 to support that data format, which is available on PyPI.
However, the data files in the Allen Cell Types Database are still in NWB1 format at this time. IPFX 1.0 does not support NWB1 files. Therefore, to work with those older files, you must install an earlier version of IPFX, which is not available on PyPI (v.1.0 was the first IPFX version to be deployed via PyPI).
This version of biphys_optimize is intended to work with the Allen Cell Types Database NWB1 files. We are updating biophys_optimize to work with NWB2 and IPFX v1.0
in a new branch. Eventually, this will be the main branch for biophys_optimize as well; we
plan to make that switch when the files for the cells in the Allen Cell Types Database are available in NWB2 format.
Installation
You will need the IPFX package to perform feature extraction in this package. Specifically, you will need an older version of IPFX that supports NWB1 files, which is not available via PyPI.
If you do not yet have the IPFX repository cloned, do the following:
bash
$ git clone --branch=nwb1-support https://github.com/AllenInstitute/ipfx.git
$ cd ipfx
$ pip install -e .
If you already have a local IPFX repository, do the following in that repository to switch to an earlier version with NWB1 support:
bash
$ git checkout tags/nwb1-support -b nwb1-support
In either case, you can then install biophys_optimize by:
bash
$ git clone https://github.com/AllenInstitute/biophys_optimize.git
$ cd biophys_optimize
$ pip install -e .
1) Pre-process
Run:
bash
$ python -m biophys_optimize.scripts.run_preprocessing --help
to get command line options. There are a handful of JSON files for examples in testinputfiles.
a) Download data using AllenSDK and edit JSON file
Follow the Jupyter Notebook at https://github.com/latimerb/GeneralTutorials/blob/master/AllenSDK/celltypes.ipynb to download electrophysiology and SWC data. The specimen ID needs to be added to the testinputfiles/testpreprocess_input.json file and you need to update the paths to the data. The sweep IDs are unique for each specimen so you may need to look these up.
b) Run test_preprocessing.py
bash
$ python -m biophys_optimize.scripts.run_preprocessing --input_json ./test_input_files/test_preprocess_input.json
2) Passive fitting
a) Edit the passive JSON file
Change all the paths in the /testinputfiles/testpassiveinput.json file just as in step 1a. Other parameters should still be the same. Then run:
bash
$ python -m biophys_optimize.scripts.run_passive_fitting --input_json ./test_input_files/test_passive_input_1.json
Owner
- Name: Allen Institute
- Login: AllenInstitute
- Kind: organization
- Location: Seattle, WA
- Website: https://alleninstitute.org
- Repositories: 184
- Profile: https://github.com/AllenInstitute
Please visit http://alleninstitute.github.io/ for more information.
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Nathan Gouwens | n****g@a****g | 60 |
| David Feng | d****f@a****g | 47 |
| latimerb | l****b@m****u | 15 |
| Tyler Banks | 3****s | 3 |
| Jose Melchor | j****m@a****g | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 7
- Total pull requests: 12
- Average time to close issues: 6 days
- Average time to close pull requests: 11 days
- Total issue authors: 5
- Total pull request authors: 3
- Average comments per issue: 1.71
- Average comments per pull request: 0.08
- Merged pull requests: 12
- 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 (2)
- XuexingDu (2)
- xanderladd (1)
- jonathanTrinE (1)
- latimerb (1)
Pull Request Authors
- gouwens (10)
- tjbanks (1)
- josemelchor (1)