Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,13 @@ The core functionality of our workflow is separated into three files...

There are also example scripts that use the main function and demonstrate example usage of the utils scripts. Example calls are provided at the top of each docstring for the example files.

1) example_make_correlation_matrix.py
2) example_make_raster.py
3) example_run_permutation.py
4) example_sequence_matching.py

### What's in the __'\data' Folder__?
If you look in the '\data' folder, you will see two sub-folders labelled 'test_data' and 'full_data'. The first of these sub-folders holds short, sample versions of our data that we can use for quick testing.
After running the download_data.sh script in "scripts/", you will have two sub-folders labelled 'test_data' and 'full_data'. test_data holds short, sample versions of our data that we can use for quick testing, but make no biological sense. full_data includes subfolders for two prairie voles, each with two types of social interaction recordings. One Partner introduction with a novel opposite-sex vole and one Same-sex (SS) introduction. The snakemake will use all these files to make basic raster plots and correlation plots of co-activity. They are also randomly selected in the different "example usage" portion of each example_..._.py file. Below are more details on each of the types of files in the folders.

There are five primary types of data contained here...

Expand Down
4 changes: 2 additions & 2 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_swr_csv_name(dataset):

# handle special case for sleepyvole
if dataset == "7742/SSIntro":
return f"{animal_id}_{session}_cropped_SWRs_ca2.csv"
return f"{animal_id}_{session}_sleepyvole_SWRs_ca2.csv"

# all other cases
return f"{animal_id}_{session}_SWRs_ca2.csv"
Expand Down Expand Up @@ -154,4 +154,4 @@ rule generate_raster_plot:
window=params.window,
ripple_index=params.ripple_index,
save_path=output.raster
)
)
2 changes: 1 addition & 1 deletion scripts/download_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -euo pipefail
OUT_DIR="data"

# Google Drive folder URL (replace or add more as needed)
FOLDER_URL="https://drive.google.com/drive/folders/1RcxsdghOMMvaF-mQlVCOtkmXXj2TR7fg?usp=drive_link"
FOLDER_URL="https://drive.google.com/drive/folders/1MCQce7FXHNKEQg97zs5YrXFSZbxB_iDU?usp=drive_link"

# Create output directory if needed
if [ -d "${OUT_DIR}" ]; then
Expand Down
Loading