-
Download git repository:
with ssh:git clone git@github.com:scholz-lab/PpaPred.git -
Install environmnet:
conda env create -f requirements.txt -n PpaPredorconda env create -f environment.yml -
Edit config and config_batch files, to specifiy path to your PharaGlow files, etc.
-
predict files from your terminal...
a. either individually without slurm:
conda activate PpaPredorsource activate PpaPred
python -u predict.py -p "pattern"
b. individually with slurm:
sbatch Predict.sh "pattern"
c. or multiple with slurm script (edit multiPredict.sh by providing name patterns of folders)
c.sh multiPredict.sh
-
Activate ipykernel for env (only once):
conda activate PpaPredorsource activate PpaPred
Thenpython -m ipykernel install --user --name PpaPred -
Edit config_batch.yml and provide patterns of files you want to analyse.
-
Connect to jupyter notebook and run BatchAnalysis_combined.ipynb step by step.
This program uses patterns in the file and folder names to find files. Thus, the easiest way to handle predictions and pull data recorded at different days for comparison, is to have unique ids that can be used for identifcation: e.g. an id for the experiment (e.g. LB001), or specify condition and experiment id within the folder names (e.g. Exp01_WT, or LB001_WT). Alternatively, place files or folders in uniquely identifable folders, which can be specified as path in the config file.
If you want to pull changes from origin, you might encounter problems with BatchAnalysis_combined.ipynb. This is likely due to the output generated in this file. The easiest solution for this is to stash changes before pull.
git stash
git pull
git stash pop