mkdir -p ~/src
cd ~/src
git clone https://github.com/ejhonglab/al_analysis
cd al_analysis
# This will make a conda environment named 'al_analysis'
conda env create -f environment.yml
conda activate al_analysis
Set the environment variables HONG_NAS and HONG2P_FAST_DATA appropriately:
-
$HONG_NASshould contain a directorymb_teamdirectly under it.-
This
mb_teamdirectory should containraw_dataandstimulus_data_filesdirectly under it. -
You may also set
HONG2P_DATAas a folder that containsraw_dataandstimulus_data_filesdirectly under it.
-
-
$HONG2P_FAST_DATAshould contain a local copy of the data under araw_datadirectory, again immediately under it. Analysis intermediates will be saved to a directoryanalysis_intermediates, which will be created under this directory.
For the analysis to use the metadata in my Google Sheet Hong lab documents/Tom - odor mixture experiments/pair_grid_data, open the sheet and copy the link to a file called
pair_grid_data_gsheet_link.txt in the top-level of this repository.
Document expectation on this Google Sheet? Make public read-only template and share link?
# (or whatever else you named the environment for this project)
conda activate al_analysis
al-analysis <command line arguments ...>
# To display help message describing how to run and different command line arguments
al-analysis -h
Plots will be created under a directory such as pdf, under the current directory.
Initially tested on Ubuntu 18.04, mostly on 20.04, and also believe it has worked on at least 24.04 (not sure if I've tested 26.04 yet). Some things, like symbolic links, may not work as expected by default on Windows.