<aside> 💻

Pipelines that run entirely on a local machine, against data on that same machine. Mostly R scripts with intermediary Rds files stored on Box.

</aside>

Simple pipelines will not have version control but they may often be collaborative. For this reason there are a few standard practices that we employ, outlined below. Processed (small) data and pipelines should be organized and stored in the lab Box Data folder using a common structure.

Box data and script organization

An example structure within a designated Box /ZamanianLab/LabMembers/{Name}/{Project} sub-directory:

{Data Type}/
  ├── Master_summary.csv        [date, experimenter, other descriptive columns]
  ├── data/                     [data organized by date]
  │   └── YYYYMMDD/
  │   │   ├── YYYYMMDD.csv      [raw instrument output or csv data]
  │   │   └── Notes.txt         [assay description and additional details]
  │   └── (assay)_tidy.rds      [tidy/processed data]
  ├── code/                     [R script folder]
  │   ├── (assay)_tidy.R        [raw data > (assay)_tidy.rds]
  │   └── (assay)_analysis.R    [template: tidy data > analysis and plots]
  └── plots/                    [plot outputs]