I commit to document expectations for record-keeping
This page collects real-world examples from labs around the world. We encourage all labs implementing the SAFE Labs Handbook to share their own commitments/statements here.
Australia
What goes on GitHub, and what never does
Code goes on GitHub. Raw or identifiable participant data never does — not even in a private repo. GitHub is not an approved storage location for participant data under UNSW’s data classification rules (see Data Access & Management); a repo being private doesn’t change that. In practice:
- Scripts should read data from its actual location on OneDrive/SharePoint (or wherever the project’s approved storage lives), referenced by a relative path, not a hardcoded path to a specific person’s laptop.
- Add a
.gitignorethat explicitly excludes data folders, so a straygit add .can’t accidentally commit a CSV full of participant responses. The lab manager can provide a standard.gitignoretemplate — use it as your starting point for every new repo.- If a repo genuinely needs example data to run (e.g., so someone else can test the pipeline), use a small simulated or fully de-identified synthetic dataset built for that purpose, clearly labelled as such.
- If you’re ever unsure whether something is safe to commit, ask before pushing, not after.
Reproducibility mechanics
- Set a seed explicitly (
set.seed()) anywhere randomness is involved (bootstrapping, permutation tests, train/test splits), and note why that seed and not another, if it matters.- Record the analysis environment: run
sessioninfo::session_info()at the end of your analysis and save the output alongside your results, so package versions are documented. For larger or long-running projects, userenvto lock package versions for the whole project.- Scripts should regenerate figures and tables from raw data through to the final output. If a figure in a paper was hand-edited after being exported from R, that’s a red flag — the pipeline should produce the reportable output directly, or the manual edit should be documented and justified.
Chief amongst these is making sure everyone thoroughly documents their research. Good record keeping is fundamental to robust science. I expect you to use github or bitbucket to store and version your code. Your repos should be updated frequently (at least once a day when you’re working exclusively on dry lab!), preferably with informative commit messages, and your code should be legible – remember that eventually it will all be made public!
Austria
All computational work in our lab will be tracked in a Github repository within the lab organization. Unless otherwise agreed this will always start in a private repository which will become public as soon as a license has been applied, a preprint has been posted, or the manuscript is under review (whichever comes first). The only exemption are projects subject to a patenting process. The default licenses in our lab are the Apache License 2.0 for software and code and CC-BY-SA 4.0 for content and artwork. Our lab strives to maintain repositories on Github and lab members are encouraged to reply to issues and discussions on repositories they manage.
It is essential to maintain detailed, up-to-date records of daily activities. This includes:
- Notes and sketches on ongoing projects.
- Progress on analyses.
- Logs of seminars attended, papers read, or other relevant activities.
Digital and Physical Notes
- Use markdown-based notes in Obsidian for digital documentation.
- Optionally, concatenate markdown notes and print them on sticky paper for inclusion in physical lab notebooks.
Shared OneDrive Folder
The official platform for file sharing is the CeMM-provided OneDrive, accessible here: Shared Documents.
Best Practices
- Update the folder regularly, especially when reaching milestones such as paper submissions, talk presentations, or poster creations.
- Organize files in a compartmentalized manner by subject (e.g., figures, presentations, documents, notes).
- Prefix all file names with the format
YYYY-MM-DD-to ensure chronological order.
Belgium
Documentation should allow a new lab member or external researcher to understand what the data or files are, how they were created, and how they can be reused, without additional guidance from the original researcher.
Canada
Anonymous lab:
Raw data can be stored on your personal computer, but a copy of your raw data (not processed) must be stored either in a shared OneDrive folder accessible to the lab OR on the lab computer. The exception to this rule is if the data are proprietary (e.g. work was done for an industry partner under and NDA), in which case data storage will be discussed on a case-by-case basis. For your own benefit (and sanity), it is highly recommended that you store all data, scripts, and manuscripts in at least two places.
We do most data analysis by remotely logging into servers (see Servers page). All data should be saved onto C. Baron’s datashare, which is backed up regularly. This datashare is mounted on all of our servers.
Code Repositories & Git
We use git for version control. There are many good tutorials online that new lab members should use to familiarize themselves with git.
In general, data collected as part of BLERF activities will be archived on Dataverse, and publicly accessible (sometimes after a suitable embargo period).
The primary collectors of the data (e.g. graduate students) are, by default, expected to maintain rights to the data, as will the primary advisor (Dr. Pither), who will be the steward of the data unless otherwise arranged at the outset of the collaboration.
Exceptions to these general policies include:
- Data collected as part of partnerships with Indigenous partners, who will decide if, how, and by whom data will be archived and accessed, following OCAP Principles.
- Sensitive data of any sort, which will be managed according to appropriate jurisdictional guidelines.
Use the docs/labnotebook/ directory for dated Markdown entries. A simple naming convention works well:
docs/labnotebook/2026-03-30_pilot-data-collection.mddocs/labnotebook/2026-04-02_initial-analysis.mdEach entry should briefly note what you did, what you observed, any decisions you made, and links to relevant scripts or results. These notes are version-controlled along with everything else and provide a timestamped record of the project’s evolution.
You should get into the habit of maintaining detailed records and organizing all files – physical and digital – related to your lab work in a fashion that will be straightforward for others (and your future self) to navigate and understand. Good practices include clear documentation of your storage system/organizational approach (e.g., in the form of “readme” files that detail the folder structure) and things like the meaning of variable names within files; using descriptive and consistent names for files, folders, and variables; extensively annotating any scripts used for data analysis or experiment programming, and keeping records of project milestones and timelines (OSF wiki pages for projects are a useful medium for this). A formal data management plan is encouraged and may be helpful to you, but is not required outright.
- Back up all lab data regularly, and ensure they are always stored in at least 3 locations. Your office computer and the backup server available through your office computer can count as two; the third may be a personal machine or hard drive, or the lab hard drive if needed. Cloud-based services are convenient and may be acceptable for some purposes, but should not be used for identifiable or potentially sensitive data, or anything else you would prefer kept private.
Every ongoing research project will have an associated OneDrive folder within a shared library for the lab. Please speak to me or the lab manager to be given access to the OneDrive shared library.
Within this folder are subfolders for each aspect of the study from ethics to recruitment. If there are multiple studies attached to one ethics, there will be subfolders within the project folder indicating the project’s title and the researchers name.If changes have been made to the study, these folders will need to be updated so that we have the most up-to-date information on how the study was conducted. This is to ensure that our studies are reproducible to the maximum extent we can manage.
Every ongoing research product should have an associated MS Word or Google Doc that is shared with lab members who are involved in that project. At the top of the document, is the internal title for the project, the names of the associated lab members, and links to important documents/folders (Manuscript drafts, data files, R-code). If you make a change in some code, collect data, edit a document, or do anything else related to a project, please record that information in the Google doc with the date and your initials.
How much detail is required in this record? There’s no perfect answer to that question, but the document should be clear enough and detailed enough so that if we revisit the project several years later, we should be able to find where the manuscript is, where any relevant code is, and where the data is stored.
At the end of your program, you will be asked to organize, document and post all files relevant to your work on the NAS with a copy delivered to me. All data and research output will be considered our collective property, unless otherwise stated (see INTELLECTUAL PROPERTY). Field books and notes are considered property of the project, not personal.
WhereDataCodeLive is an important part of data management in the Temporal Ecology Lab; it’s basically where we keep notes on the files that make up each project and keep track of when data will be made public following the rules in the lab data management plan (see tempeco_DMP.pdf).
How do I complete my wheredatacodelive?
Great question! Please copy the markdown (.md) in ZeTemplate/ZeTemplate.md (https://github.com/temporalecologylab/labgit/blob/master/datacodemgmt/wheredatacodelive/ZeTemplate/ZeTemplate.MD) and update it for EACH of your projects in the lab. More details are in tempeco_DMP.pdf.
wheredatacodelive files should be stored in the labgit in the wheredatacodelive folder.
I have been asked to check someone else’s file, how do I do that?
Notes on what to check for in a good wheredatacodelive project file are in wheredatacodelive_notes.txt
Data recorded from the lab should be saved in a backed-up location on the Ultracold YEG Google Drive, or through the Team Drive. This should be automated through data collection software when possible.
Keeping good lab notebooks is also a requirement. Google Docs and Notion are, in general, the medium of choice in this lab. You should record day-to-day activities in the team notebook appropriate to your project, and add pictures, spreadsheets, sketches, etc, as appropriate. Links to online data folders should be included.
Personal notebooks may be kept in whatever format you prefer – paper, tablet, or Google Doc for instance.
Colombia
3. Cuaderno de laboratorio
Registro de experimentos (wetlab y computacionales), metodología, resultados e interpretaciones. Debe contener entradas con fechas para dar seguimiento a los avances.
- Formato: Markdown. Se puede usar cualquier editor compatible.
- Elementos esenciales:
- Link a la librería compartida de Zotero, donde se manejará la literatura relevante del proyecto.
- Link al repositorio de GitHub, que debe clonarse para acceder a los scripts del proyecto.
- Path del home en el cluster, donde se almacenan los archivos con permisos de lectura adecuados.
4. ToDo-list
Desde la primera reunión se creará un archivo con la lista de tareas pendientes. Este documento permitirá un seguimiento eficiente de las actividades del proyecto.
Estructura de carpetas
Una vez creados estos archivos, se estructurarán las carpetas siguiendo el diseño experimental del MindMap.
- Datos crudos o pesados → Se almacenan en el cluster, no en la carpeta del cloud.
- Programas o scripts → Se gestionan en GitHub.
- Comandos usados → Se documentan en el Cuaderno.
- Archivos de salida (imágenes, PDFs, reportes, etc.) → Se guardan en esta carpeta del proyecto.
- Archivos de salida > 50 MB → Se almacenan en la carpeta de proyectos del cluster y su path debe registrarse en el Cuaderno.
English translation:
Lab notebook: record of experiments (wet lab and computational), methodology, results and interpretations. It must contain dated entries to track progress. Format: Markdown; any compatible editor can be used. Essential elements: link to the shared Zotero library where the project’s literature is managed; link to the GitHub repository, which must be cloned to access the project’s scripts; path of the home on the cluster where files are stored with suitable read permissions. To-do list: from the first meeting a file with the list of pending tasks will be created; it allows efficient tracking of project activities. Folder structure: once these files are created, folders are structured following the experimental design in the MindMap. Raw or heavy data are stored on the cluster, not in the cloud folder. Programs or scripts are managed in GitHub. Commands used are documented in the Notebook. Output files (images, PDFs, reports, etc.) are saved in this project folder. Output files over 50 MB are stored in the cluster’s project folder and their path must be recorded in the Notebook.
France
All data and codes will be made available through public repositories, respecting the FAIR (findable, accessible, interoperable, reusable) data principles. A big part of ensuring that data are FAIR is by documenting all experiments, protocols, results etc… For this we use electronic labbooks and ensure their strict completion.
Germany
- Reproducibility and transparency. Be prepared to redo everything from scratch yourself, and document everything in such a way that someone else inside or outside of our group can do it without needing you, too. Do your best to avoid ad hoc solutions, AWK one-liners, or anything you can’t clearly describe formally in a conventional methods section of a hypothetical manuscript.
Our mission is to perform robust and reproducible research. We achieve this goal through various actions, including documentation of program code and analysis steps, preregistration of experiments, internal replication, and data and code reviews. We establish naming conventions for files and we write standard operating procedures (SOPs) for experiments, data collection and -management, data storage and for analysis. We respect subjects’ privacy, therefore we collect pseudonymized or anonymized data whenever possible.
We want to constrain the “researcher degrees of freedom” in analyses by carefully specifying analytic strategies prior to data analysis. We avoid “research waste” and in the case of negative results, we will publish them. We prioritise quality over quantity in producing the data and in the publication of results. In case of mistakes in already published work, we acknowledge these mistakes and work to correct them.
Hungary
- Operational documents (OD) are short summaries of the discussion on all platforms about the project. The main aim of the operational documents is to record the development of the project.
- If there is a conclusion about a question in an email thread the project manager should record it in the project notebook
- You should follow the lab template if you create an operational document for a new project
- Name of the file should be XXX_MainOperationalDocument.doc
- Each entry should start with the date: YYMMDD
- Use bullet points to break up the entries
- The project manager is responsible for taking notes to the operational document during meetings
- Every event and idea should be recorded in the OD of the project
- The notes must be understandable for any member of the project who reads it
- If you want to address someone in the note please use their last name
India
Specifics of code and data sharing: All students will create a Git-Hub login and are invited to the lab git-hub account (https://github.com/tee-lab). They create a private repository for the ongoing project within the lab git-hub account (with no licence, with all rights reserved); in some cases, an ongoing project may also be made Public with open access license.
The project lead is encouraged to use features of git version control and directly update on git-hub. Alternatively, they can manually upload the latest codes at least once a month. This will also serve as a back up.
Israel
Organizing stimuli and data: Decide in advance how to organize the stimuli and data (in terms of directories and filenames) in a way that will facilitate sharing. Behavioral data should also be anonymized (replacing prolific IDs with a project-specific participant ID) before uploading to a data sharing platform. It is best practice to anonymize the data as a first step and then write the analysis code such that it runs on the anonymized data.
- Preregistration: All studies in the lab (aside from a few exceptions) are either preregistered or submitted as registered reports (see the lab resources page for more details).
- Data and code sharing: All code should be uploaded as a separate repository in the lab github, along with a detailed readme and the recipe for the environment you used for the project. If you use the fMRI pipeline, make sure you link to the specific version of the files you used for analysis. Behavioral data is shared on OSF and neuroimaging data on openneuro. Currently our ethics approval does not allow sharing of intracranial data.
Japan
【実験ノート/スペクトル】
実験ノートは専用ノートを使用する。実験ノートの付け方は別紙。
スペクトルには全て固有の番号を振る。コンピューターのファイル名はこの番号に対応するようにつける。実験ノートからもスペクトルからも互いが参照できるようにしておく。実験ノートとスペクトルは卒業時に全てまとめて研究室に残すので、普段から整理をしておくこと。
English translation:
[Lab notebooks / spectra]
Use a dedicated notebook for your lab notes. How to keep the lab notebook is described on a separate sheet.
Give every spectrum its own unique number, and name the computer files to match this number. Make sure the lab notebook and the spectra can each be traced from the other. Lab notebooks and spectra are all left with the lab when you graduate, so keep them organised day to day.
莊司研究室におけるデータセット公開は、研究室共同 GitHub アカウントを基盤として運用する。
各学生は、研究室 GitHub 組織配下に個別のデータセットリポジトリを作成する。
その際、当該学生の GitHub アカウントをCollaborator として招待し、本人がコミットを行う。
これにより:
リポジトリ管理履歴にデータセット作成者が明示される
データ取得時期が最終コミット時刻として記録される
また、複数学生のデータを単一リポジトリに集約する運用は行わない。
理由としては:
更新履歴が混在する
データ取得時期の追跡が困難になる
個別引用が不明瞭になる
したがって、「1データセット=1リポジトリ」を基本原則とする。
English translation:
At the Shoji Lab, dataset publication is run on the lab’s shared GitHub account.
Each student creates their own dataset repository under the lab’s GitHub organisation.
The student’s own GitHub account is invited as a Collaborator, and the student makes the commits themselves.
This means that:
- the dataset’s creator is shown in the repository history
- the time the data were collected is recorded as the time of the last commit
We also do not combine several students’ data in a single repository.
The reasons are that:
- the update histories get mixed together
- it becomes hard to track when the data were collected
- individual citation becomes unclear
So “one dataset = one repository” is our basic principle.
Netherlands
All researchers in the Bicycle Lab should establish and follow reasonable data management practices for their project. If your data management practices fulfill these three principles [*] then your approach is considered reasonable and sufficient:
- If another researcher were to ask for the data and/or any related materials associated with your project, current lab members would be able to easily find it and send it to them without your assistance.
- If another researcher who works in the same field as us were to receive a copy of the data (and/or related materials) associated with your project, they would be able to use it without asking us too many questions.
- The lab PI will be able to find and use the data from this project five to ten years from now.
Singapore
- Storage locations:
- Secure institutional servers for identifiable data (if applicable) following NUS IRB/ethics rules.
- Dropbox/One Drive (shared team drive) for documents, non-identifiable datasets, and project management.
- GitHub for code and research compendia (no raw sensitive data).
- Folder structure (recommended):
- Project_Name
- 01_RawData (original datasets; de-identified where possible)
- 02_Models (digital twin/BIM/GIS assets)
- 03_Code (src, scripts, notebooks; with README)
- 04_Analysis (reports, visualizations)
- 05_Documentation (meeting notes, protocols)
- 06_Outputs (papers, posters, presentations)
- Backups: Use institutional backups and cloud redundancy; never store sole copies locally.
- IRB/Ethics: Before human subjects or sensitive data collection, obtain required approvals. [PI to specify NUS/DBE IRB contacts and SOPs]
- Data sharing: Follow funder/journal requirements; anonymize and license appropriately.
Spain
Some things that make a notebook useful, wherever it lives:
- Date every entry. Newest-first keeps the latest state at the top.
- Record decisions and why: “Discarded rep3: box too small, protein interacted with its periodic image at 40 ns.” This is exactly the information a referee asks for and a successor needs.
- Record mistakes. A note like “the first 300K set used the wrong salt concentration and was deleted” saves the next person from repeating the mistake.
Sweden
It is important that we keep careful notes of our work for the sake of publications, patent filings, reproducibility, and later reference by future members of the group once you depart. You’re welcome to use whatever format you find most convenient: a written journal, an electronic word document (e.g., using Obsidian, Notion), etc. I have a preference for electronic documents so that we can archive them and back them up, and they are also searchable.
- Keep backups of everything, and remember to back-up regularly! I cannot emphasize this enough. In fact, I would strongly recommend that you have an automated back-up system (e.g., automatically syncing OneDrive, iCloud, etc). Everyone I know who has ever lost important files or data was “planning on everything backing up tomorrow.” Don’t let this be you! Backing up your data is something that may take 30 minutes to set up but can save you weeks or even months of work down the line if you are ever so unlucky as to have your files lost. I personally do 99% of my work either in GitHub repositories that I manually (but constantly) sync, locally on my laptop which is automatically backed up in OneDrive and iCloud, and in Overleaf documents that automatically sync.
- For projects involving code, you should actively maintain private (before publication) GitHub repositories for all of your projects. When dealing with large datasets, try to maintain copies across multiple servers when possible.
Switzerland
MS OneNote for Project Documentation
Just like a traditional paper lab notebook, documentation here must be clear, complete, and auditable - this helps protect your work and ensures our research maintains the highest standards.
All project-relevant decisions, design choices, and analysis choices must be documented clearly and comprehensibly, such that any collaborator can easily reconstruct the logic of an experiment and its analysis.
We ask you to record what you did, how you did it, and the outcomes. This includes experiments, analyses, scripts, and major decisions.
Notebook structure
Each project has a dedicated notebook with a standard structure. MS has made it impossible to save notebooks as a file so you must follow the following convoluted procedure to make your own: Open this example notebook and go to edit > in Desktop App. Once the notebook is open there, copy all the sections to your own new OneNote notebook by right-clicking and selecting “Copy Section to…”. If you feel this does not meet your needs, agree on the improvements you plan to make with Alexis and customise as needed.
United Kingdom
All members will be issued with a lab book on joining the lab. This remains property of the lab and is a lasting record of your work. Lab members are expected to keep a detailed record of all their work in the lab including any data analysis. Records of where data is kept must be included in this lab book. Each page of the lab book must have the date, experiment title, lab book number, page continued from/to completed, and signed by the lab member. From time to time these lab books will be audited by the group leader who will then sign the latest completed page of the book to approve the record of the work. Results should all be recorded in the lab book in clear and readable text, or should be cross referenced to the location of the file on the sharepoint.
EnvironmentalModellingResearchGroup_2026:
All computers should be backed up. A set of two USB hard drives should be used as a daily automated back-up, rotated at regular intervals. Regular backup of important documents (e.g. model set-up files, manuscripts) to the lab group’s google drive, the University’s google drive or the University servers, preferably via a version control system, e.g. git.
All data should be placed on an appropriate repository with a DOI and published alongside the manuscript wherever possible. Data includes. Suitable examples of repositories include FigShare and Pangaea. Staff and PhD students must also adhere to the University of York’s Research Data Management Policy, which means as well as above, you must add the data to PURE, via the DOI above.
All software and scripts should be developed using Git or other suitable code versioning system, ideally in an open online environment, such as GitHub. Group members are free to add repositories to this group’s or start their own. Code should be released under a suitable, permissive licence, such as LGPL whenever possible.
If you are a BSc student, you can increase reproducibility by documenting all stages of your analysis in sufficient detail such that anyone could follow your steps exactly. If using JASP, make notes of what menu options you chose and in what order. Did you exclude any data? If so, document why. Did you transform any variables? if so, document why.
If you are an MSc student, I would be expecting you to start to explore using statistical programming languages such as R for your analysis so that you have a script of your analysis code. If you are a PhD student, I absolutely expect you to be coding your own analysis. Of course, I am always on hand to help out if needed.
Use whatever works for you, but document your work. That could be a lab book, whether paper or tablet, with notes on each analysis or each simulation. Or typing notes. Or exporting key plots to Powerpoint, Google Docs etc. Or using a Jupyter notebook or RMarkdown to encapsulate what you’ve done, if you’re comfortable with those things. Do something, so that you can give accurate answers to: what have you been working on? And: what have you found?
What you need to save in the Writing Folder – any of the following:
- Experimental reports
- Literature reviews
- Transfer reports
- Manuscripts
- Any other writing: notes, snippets etc.
How writing should be saved
Each piece of writing should have its own subfolder – the subfolder should be given an appropriate descriptive title, which identifies the content – for example:
Example subfolder title: “Year 1 transfer report”
Example subfolder title: “Starting material characterisation report”
The idea is that anyone can look at the titles of the folders and make a good guess about the contents. This shared folder makes it easier to write collaboratively.
- You should keep detailed notes documenting all of your progress, reading and lab work. These will be essential when it comes to writing up, and will also help to guide our discussions when we meet.
- You are responsible for ensuring all of your work and data are regularly backed up (I recommend automatically backing up to the cloud). It’s worth talking to your peers, other researchers and me to find the best solution for you depending on the kind of data you need to back up.
If you gave someone else your raw data, they should be able to reproduce your results exactly. This is critical, because if they can’t reproduce your results, it suggests that one (or both) of you has made errors in the analysis, and the results can’t be trusted. Reproducible research is an essential part of science, and an expectation for all projects in the lab. For results to be reproducible, the analysis pipeline must be organized and well documented.
To meet these goals, you must document all aspects of your analysis pipeline. This means writing down how you did things every step of the way (and the order that you did things), from any pre-processing of the data, to running models, to statistical tests (including in analysis scripts, which should always be commented clearly so that every step is understandable by an outsider). If you are running your analyses in JASP, make sure to re-label standard headings of analyses (e.g., ‘Repeated Measures ANOVA’ could be relabeled to ‘Vividness of immediate recall: repeated-measures ANOVA’), give outputs a sensible title, e.g., ‘Immediate_recall_analyses’, and save them all in the same ‘results’ folder.
Your experiment is not “done” until it is written up in your lab notebook.
Your lab notebook should:
- Describe your substantial activities in the lab every day, with dates.
- Describe your work in enough detail to reproduce it.
- Include, or link to, every piece of substantial data that you collect.
- Place your work in the context of larger goals and projects.
- Be updated within a week.
United States
General principles:
- All data (raw and preprocessed), metadata, records (e.g. lab notebook), code, analysis, and writing must be backed up to cloud storage (e.g. OneDrive) or stored on a system with regular backups (the server). You can keep working copies of any data on the server in a second location as well. We must keep all these for several years after each paper is published, so it’s important that they are durably stored and easy to locate.
- Log inventory and samples with their detailed locations. Label chemicals with when they arrived and when they were opened. Label physical samples with enough detail so they can be connected to the originating organism and data by someone else in lab (sample name, your initials, date, which hemisphere, which stains, etc).
- Record early and often. Keep this level of detailed records and data management even for pilot data; you never know when you’ll need it. Your records and code don’t need to be clean or publication-ready to be stored; store them every day and organize them later. Use version control for all code.
- Your lab notebook should record which protocols you used, how you deviated from them, any notable observations, lot numbers and concentrations of reagents used (if relevant), software versions used (if relevant), and locations of generated samples and data.
- Use YYYY-MM-DD date format.
- Help keep the lab wiki and protocols up to date. Add information you think may benefit others. Edit information and protocols as they change. If you do an experimental procedure not yet on the lab’s protocols.io workspace, add it there.
- Data, code, and records you generate here belong to the lab. All data and repositories need to be accessible by everyone in lab. Keep your data on the server and your code in repositories within our lab’s Github team space. Lab notebooks need to be accessible to everyone in lab after you depart.
All documentation, code, and data in our lab lives in the following locations:
- Lab wiki: this manual, other administrative protocols
- Protocols.io: protocols. When you create or majorly modify a protocol, print it and add it to the protocols binder (replace the old copy).
- Github: data acquisition and analysis code, CAD files
- Server: raw and preprocessed data, analysis. Data should be organized consistently across all your data and projects and explained in a README file in your server folder. Modified raw data must be stored as copies and the original left untouched. Data should be converted to non-proprietary formats (meaning the file can be opened without paying for a software license).
- ABED: all metadata, inventory, physical locations of stocks and samples
- Dropbox/OneDrive: I will share a Dropbox folder with everyone and ask you to add figures, presentations, or writing to it when we are working together on something. I find it’s often easier to work on early drafts of papers as a single Google doc, so all authors can work simultaneously, then migrate them to Word documents for formatting and submission.
- Fridge: brains and slides
Other recommended tools:
- Notetaking software: any will do. I use Notion, which is useful for long-term planning, connecting related notes, and integrating with other online tools.
- Reference manager: any will do. I use Zotero, which is open source.
Data Layers
- Directory structure: Data/[Project Name]/[Cohort or Subproject]/Raw Data, Preprocessed Data, Analysis
- within Raw Data and Preprocessed Data: [Data Type]/[Animal Name]
- Recording file naming scheme: [yyyymmdd][Animal Name][Track][Epoch]
For results to be reproducible, the analysis pipeline must be organized and well documented. To meet these goals, you should take extensive notes on each step of your analysis pipeline. This means writing down how you did things every step of the way (and the order that you did things), from pre-processing, to running models, to statistical tests. You should take detailed notes on your experimental design as well. Your code should also be commented, and commented clearly. We all know what it’s like to sit down, quickly write a bunch of code to run an analysis without taking time to comment it, and then having no idea what we did a few months down the road. Comment your code so that every step is understandable by an outsider. Finally, it is highly encouraged that you use some form of version control (e.g., Git in combination with GitHub) to keep track of what code changes you made and when you made them, as well as sharing code with others. The lab’s GitHub is https://github.com/alylab.
Lab notes: Students are expected to maintain a daily record of their research. Some days it may make sense to handwrite notes in a physical notebook, while other days the most efficient record keeping method might be to take typed notes with interleaved screenshots. Students should maintain both a dedicated physical notebook for written record keeping and a dedicated Box folder to store digital notes (save, e.g., as Word documents). These notes must be sufficiently well-organized such that a future lab member can reasonably follow your prior work.
Data used in support of the project must be:
- Saved in an appropriate, non-proprietary format with accompanying metadata
- In a public archive, or, if data is proprietary, a ‘snapshot’ version of the data used in the project must be saved in a private repository accessible to lab members
- Linked and briefly described in the project README
Code
Code used or developed in support of the project must be:
- Well commented and complete
- On Github, in the public project repository
- Described in the README- what does each file do, what language was used, etc
- Tested! can at least one other person (but more is better) make your analysis go on a different computer?
You are expected to catch up on your lab notebook at least biweekly, and we may consult notebooks during individual or project group meetings. Your ELN is for documenting daily work. Each day you work in lab should have some note of what you did that day. You should plan fly crosses in your notebook, document genotyping gel results, blots, etc. If you prefer writing things out on paper, you may use your paper lab notebook and include a photo in your ELN with a short description for searchability–this is easily accomplished using the smartphone app. All raw data is stored on the Waksman Share Drive (see separate section) – only metadata, representative data and summary plots need to be in your ELN. The file path to raw data must be noted in your ELN for every experiment that generates data files, and metadata must also be stored with raw data (in addition to being in your ELN).
A note for elephant seal program files (deployment summaries, biologging data, scanned datasheets, morphs datasheets, start/stop datasheets): Note that the University owns all research data, but they delegate the responsibility and ownership to the PI. Google Drive files/folders are a little tricky because if the Owner’s account goes away (e.g., a PhD student moves onto a new postdoc position), all owned files are automatically deleted. This is obviously a major concern for a long-term research program. To prevent this issue, I ask that you make me the “owner” of all Google Drive files that are critical to the lab’s research (for each Google Drive document that you own, click “Share”, then make sure I have edit access, then click the arrow next to my name → “Transfer ownership” to me").
- Does the script run without errors?
- Is code self-contained within repo and/or associated Box folder?
- Is all commented out code / remarks removed?
- Does the header accurately describe the process completed in the script?
- Are file paths relative (using here()) rather than absolute?
- Are assertions present after merges, filters, and key variable creation steps?
- Do unit tests pass (testthat::test_dir(‘9-tests’))?
- Are random seeds set where relevant?
- Is the script pushed to its github repository?
- Does the code adhere to the coding style guide?
- Are all warnings ignorable? Should any warnings be intentionally suppressed or addressed?
The lab’s shared Box folder is the system of record for all data, documents, photos, and videos. UC Davis provides it with unlimited storage, and it keeps a version history of recent changes. Work out of Box so your files are backed up at all times.
Once a month, back up your Box data to an external lab hard drive. Keeping a second copy off the cloud is your responsibility as much as the PI’s.
Reproducibility: All developed methods, analytic pipelines and finalized results of your analysis should be well-documented. This is not just for scientific rigor, but also for training and as a service to your labmates. Other members of the lab will appreciate detailed records of what you have tried that failed (and what you have tried that succeeded), so that they can learn from your experience. You will also come to appreciate the fact that others will not need to constantly bug you with questions. We will try our best to post preprints of original research to preprint servers (like biorxiv), and post codes to online repositories (like GitHub), but even just a set of neatly kept READMEs on the lab server will go a long way to document your hard work.
You should treat GitHub as a digital version of a “lab notebook” that contains a formal record of every contribution you make to your projects. We use GitHub logs to assign credit for ideas, code or writing contributions, determine authorship order, and more. It is therefore critical that you regularly check in (commit) your work via GitHub so that you receive appropriate credit for your ideas and maintain a continuous traceable log for your project.
Collaborative research. Our lab group is collaborative, and your PI is a coinvestigator on all projects. We share viewing access to all protocols, data, research and results internally through OSF, Overleaf, and/or Google docs. When you begin your work in the lab, we will have a shared online document where we can share research plans, data, shared papers, and writing. You should expect to have a dedicated folder for your project where you share results, plans and progress, including shared meeting notes document for both agenda items to discuss, and benchmarks for short- and long-term goals. People working on projects funded by public funds are obligated to share data and scripts at the time of publication, and this shared repository will also act as a place to draft these open source final documents.
All members are expected to keep their data files, input decks, etc. in a file system that is organized and stored on one of the workstations in the lab. Personal laptops should not be used to store data. Critical results should be saved. README files should be used in directories to explain what is there, when the work was done, and anything else that would be useful to future members to understand and reproduce the results. All members are entitled to take a copy of all of their data when they leave the lab.
Code
- All analysis code must be published, not merely available upon request.
- Repositories must include the verification and testing scripts from Section 3, so reviewers and readers can see what checks were performed.
- Where AI tools generated substantial portions of code, note this in comments or the README.
- Code must be documented well enough for another lab member to run it on the original data and reproduce reported results.
- Except in exceptional cases, generative model output should not be a primary method of analysis — e.g., using an LLM to classify open-ended responses instead of writing a classifier.
Data
- Raw data (subject to IRB and participant privacy constraints) must be deposited in a public repository (OSF, GitHub, Zenodo, or equivalent) at the time of submission.
- Preprocessing and exclusion scripts must be included. Avoid unpublished intermediate processing steps.
If you didn’t document it, it didn’t happen.
- In two years, you’ll wish you had written more down.
Guidelines:
- Legible, in pen. You can either use a normal lab notebook or build a loose-leaf notebook in a binder.
- Enter information directly into the notebook [no paper towels :)].
- Properly introduce and summarize each experiment.
- Tape in any external results (graph printouts, etc.)
- Note where any electronic files associated with experiment are stored.
- Include complete details of all first-time procedures, and cross-reference to page with full details for repeated procedures.
- Include calculations
- Keep up with the table of contents.
- Date and number each page.
- Dry-lab Work: Git and GitHub serve as our primary electronic lab notebook (ELN) system for dry-lab work. Documentation, code, workflows, and project notes must live in GitHub repositories. Version control is not optional; it is required for code and analysis history.
- Wet-lab Work: LabArchives is the primary ELN for tracking wet-lab experiments. It is also an optional secondary dry-lab notebook.
Standardized Format
In our group, all notebooks include standard sections: background, goal (objective and hypotheses), study design, methods, results (including negative or inconclusive), and interpretation. For computational projects, methods will include the general approach and associated code blocks.
We work with a variety of data types, including field observations, behavioral observations, molecular and genomic. It is imperative that you have multiple copies of your data in different locations. Imagine that the worst-case scenario is going to happen, because it very well might- your laptop will break, your external hard drive will fail, the building with your lab notebook will flood. You must back up your data to the cloud and ensure your data will not be lost due to an accident. This means taking pictures of handwritten data sheets, uploading these photos to the cloud and placing them in the lab shared drive. This means uploading raw sequencing data to NCBI (set the release date to the future so as not to release unpublished data) and having data on both an external hard drive and a UK/lab server. If you are collecting data in real time that at first exists in only one location, have a plan for how you will quickly back up those data on a regular (daily, if possible) basis. If you aren’t sure how to back up your data, ask!
As a matter of lab policy, you are asked to use UM’s electronic lab notebook to record all your raw and processed data. You are also asked to share the electric notebook with Sundeep, who will refer to the lab notebook to examine raw and processed data. I cannot stress how important it is to develop good habits to record the details of your experiments. A thoroughly documented record of your experiments is a sign of - and contributes to - the clarity of your thoughts.
- Lab Notebooks are an essential part of science, even for computational scientists! As a lab member, you are required to maintain a laboratory notebook for both wet lab and computational work.
- Computational notebooks - These can be any form and on any platform of your choosing.
- Wetlab notebooks - These must remain in the lab and document your work precisely.
- The lab also has a Benchling account where we store protocols - ask for an invitation to join.
7. Data Management
- You are expected to maintain all data generated in the lab in a responsible, reproducible, and organized manner
- You are to strive to achieve all aspects of the FAIR Principles https://www.go-fair.org/fair-principles/ in data management
- Data on the SCRATCH partition on the HPC is not backed up. If there is data that should be archived or maintained in a more secure location, external drives are available for use.
- Keep a lab notebook. Every Amazon Warrior is required to have a hardcopy paper lab notebook. Anything that has to do with an experiment you run should be documented here.
- Pages should be dated and written in ink. Write down details of the experimental planning, scheduling, behavioral assay protocols, a priori hypotheses, outline of the projected steps of the analysis. Trust me, you will forget details and you may need to reference them after months or (several) years.
- The purpose of the lab notebook is to not only help you remember details of what you did and why months or potentially years later, but also as solid proof that we did the things the way we said we did.
- Know that at any moment, Kate may ask to see your lab notebook and she will expect it to be up to date, complete and well organized.
- Organize your lab notebook well – use tabs to start new sections. Write legibly. Keep a blank page at the beginning to fill in with Table of Contents.
- Upload photos of your lab notebook pages to the lab Box every month!
- Lab book entries should be titled using the lab member’s initials followed by a number, e.g., JLP637: Alpha vs Omicron growth curve in PLSCR1 KO Huh-7.5 cells.
- All related files (e.g., datasets, graphs, images) should begin with the same index (e.g., JLP637_cell_count.xlsx) and be organized in a dedicated directory (e.g., ‘/Work/Experiments/JLP637’).
- Each lab member’s main Work directory should be automatically backed up to a cloud platform (e.g., Microsoft OneDrive, iCloud, or Dropbox). The department recommends using Microsoft OneDrive and provides all members with a free account.
- The lab also maintains a Microsoft SharePoint account, which serves as a central cloudbased drive for general shared lab documents. It is accessible through OneDrive and used for materials such as shared scientific resources, meeting slides, onboarding documents, and more. Every new lab member will be shown how to connect to the lab SharePoint during onboarding.
- Large files (e.g., sequencing or imaging data) should be stored in S-drive as cold storage at ‘/Volumes/shared/IID-Le Pen Lab/cold_storage’ and properly indexed in the lab’s SharePoint at: ’ /General/Data archive/Metadata table.xlsx’.
In general, you are expected to keep excellent, detailed notes on all your experiments. Your experimental notes are a crucial resource for the lab; they are not “personal.” Your notes must be available upon request and usable for verifying data in any publication, should questions arise. You are welcome to take copies of your personal notebooks with you when you leave but the original notes must be archived for the lab’s general reference before you go.
Keep detailed lab notebooks. Documenting what you did, whether it worked, what you would do differently the next time are critical to research progress. This helps future you (or me) remember what past you did, which is critical when writing up papers and your thesis/dissertation. It’s also important to have a running list of interesting research questions for future study. I currently do not have a preference whether this is a traditional paper lab notebook or an electronic lab notebook. My preference would be an electronic lab notebook because (1) much of our work has a computer component to it so it saves time in adding materials to the notebook and (2) they are automatically backed up. These notes can also come in the form of readme text files kept along with the data. Referencing these readme files in a lab notebook entry is a very good way to document your progress.
We use GitHub religiously for hosting and coordinating our research projects. Your code can begin in a private repo but should be released on the Makeability Lab organization, when possible, when your research is published. One exception is Project Sidewalk, which exists as its own GitHub organization.
Generally, we aim to support open science, which means releasing our code and datasets for scientific replicability and to enable future research. README.md should have clear instructions, compelling visuals, and descriptions on how to replicate the scientific work.
Kind reminder: you should never write research code without continuously backing it up (ideally, using a version control system like Git) but, in the worst case, Dropbox, GDrive, Box, iCloud, etc.
Maintain a legible and thorough lab notebook. For each experiment, please write:
- Objective
- Background
- Methods, including deviations from established methods
- Results
- Conclusion
Protocols: MsEE Lab encourages all members to write or annotate their own versions of protocols. Lab reference versions are stored publicly and updated on the MsEE Lab Protocols repository on GitHub, which allows for version control and history.
Shared resources: Presentations by all lab members, visuals, plasmid/strain databases, laboratory inventory, ordering history, and useful reference material are kept on the MsEE Lab Google Drive account.
Data: All lab data from published projects is available on GitHub repositories for the corresponding project or public online databases. Unpublished data for lab projects should be stored on the MsEE Lab Google Drive account as it is generated. Large data files may be stored on the lab server.
Notebooks: Lab members are required to keep any note-taking system that allows the downloaded storage of all the details required to replicate experiments or analysis, and understand when and how they were done. Computational projects should have changelog files that describe changes made to the code. Notebooks and changelog files can be public documents if the lab member so desires. Advances in different projects may be made public as research updates on the MsEE Lab Substack if agreed to by the lab members working on the project.
Code: Code used for simulations or data analysis should be shared publicly through the MsEE Lab Github Organization. Code is shared under an MIT License. All published projects should include a README file explaining the purpose and structure of the code, as well as information on the hardware used to run the code. A changelog file logging changes made to the code should be included as well (see above). We encourage inline documentation of functions. Code not created by a member of MsEE Lab should be annotated with its source, whether it is existing code copied or modified from elsewhere or code generated by artificial intelligence. Computational tools designed for distribution and use by others should include full user interface documentation and usage examples.
Publishing: All projects are published as preprints as soon as they are completed for publication, and updated with new results whenever they are available. MsEE Lab prefers to publish in nonprofit research journals, but the choice of a target journal is an open matter of discussion for members of the project being published. Elsevier is banned for being particularly egregious in its attacks on open science (although making for a fascinating story along the way). Yes, this includes all of Cell Press and The Lancet, sorry.
The intended reader of your notes is not you at the present time. The intended audience is either me or you several years in the future once you have forgotten the details of your experiment. Write your notes with this in mind.
All lab members are expected to maintain a lab notebook using Benchling. Each experiment should have its own unique entry in Benchling. Each experiment should be named in the following format “YYYY-MM-DD-Brief-Summary-of-Experiment-Purpose” and must have entries on two important tabs:
- Objectives: why was the experiment done?
- Methods: brief overview of key techniques and any deviations from previous experiments. You can link to previous experiments in Benchling using the “@” symbol and search for experiments by title.
- Include screenshots or images of key data here
- Also upload a copy of your raw & analyzed data for the experiment after completion so that it’s linked to the experiment.
Anyone conducting an independent research project should have a lab notebook for keeping track of discussions, experiments, and taking notes. You may also want to use an electronic notebook (e.g., Evernote) as your primary lab notebook, or to supplement a paper copy. The important thing is that you are keeping notes, and they are in one place.
Keep shared lab folders as organized as possible because different people will be accessing those files at different times (even after you leave the lab). For the same reason, include a README.txt in each project folder that includes information on the study, organization scheme of the folder, and links to any other information relevant to the project.
Folder Structure
Use the following structure (a template folder titled newProject is in Box):
- /admin: for IRB-related documents, including approval letter, recruitment materials, and study protocol.
- /analysis: for analysis scripts.
- /data
- /output: for processed data files and statistical output, including visualizations.
- /raw: for raw (i.e., unprocessed) data. This is the dataset downloaded directly from the data collection platform and should never be modified directly. Create code for data cleaning for reproducibility.
- /materials
- /assessment: for self-report measures, diagnostic interviews, and other assessments.
- /stimuli: for anything related to conducting (or replicating) the study, including qualitative interview questions, treatment materials, and experimental manipulation.
- /refs: for any references or resources related to the project (e.g., articles from literature review).
- /writing
- /manuscript: for initial drafts of manuscript(s) related to the project.
- /submission: for journal submission.
- /conference: for conference abstracts, posters, and presentations.
File Naming
Use CamelCase and underscores for file naming. Avoid spaces because not all systems read spaces well. In addition, generally, files should use the following format: StudyName_ParticipantID_FileType_Date. That way, we know what study the file is related to, what content it contains, and how recent it is. If you see a file that is named differently, please correct it to this format for consistency and legibility.
An online lab notebook is required for all lab members. Entries should be organized by date in reverse chronological order and updated daily. Document so that you or a stranger could reproduce the work years later.
Katherine needs to archive your work, so before she will sign off on your thesis/dissertation and allow you to graduate, she need to have copies of the following digital content organized appropriately within your shared folder in the Drive:
- A Word document of your thesis or dissertation with all figures, graphs, images and photos embedded within the document as images (i.e., .gif, .jpg, .png; not as an embedded Windows Meta Format – which means, don’t cut and paste between Excel and Word)
- Excel spreadsheets of your data, especially the data used to make tables and graphs organized in such a way so that I can recreate your graphs, if need be
- Literature in PDF or in an supported reference database
- All of your raw data in an appropriate format
- A draft of your manuscript(s) for publication, if not already submitted
- Copies of all conference presentations or resources on which Katherine is a co-author
There is no standard as whether it is a bound notebook, loose-sheet binders, or electronic files. You can use any, but please incorporate the following:
- Table of contents – based on numbers or dates – specially important if using a bound book!
- Group experiments on folders, and give each folder an identifier – useful if using a binder and/or electronic files.
- Please upload protocols, presentations, or other important data to the Lab drive where it would be available to other members.
- VERY IMPORTANT: prior to leaving for vacation or an extended period of time, write a summary for all the experiments you’ve done so far. Especially, highlight where you are and what you need to do next. This will be greatly useful for when you come back, believe me!
I expect each lab experiment to be assigned a specific lab notebook entry number (e.g., JQS3087 for notebook 3 of lab member with initials JQS, page 87) at the time that experiment is initiated, rather than using placeholder values (e.g., JQS30XX) with the intention to update the placeholders “later”, because that updating typically never actually happens. Lab experiments that are initiated close in time can be continued in the notebook on a nonconsecutive page simply by writing, e.g., “see page 89” at the bottom of page 87 when a different experiment is begun on page 88.
“Good Laboratory Practices” and I require notebooks to be used. For data, cross reference to the actual file locations. The notebooks are required to stay in the group (which is a requirement for most of our federal funding). Your data cannot live on the instrument it was collected on and so needs to be backed up to at least two locations. We have a current SOP on these details.
Documentation. This is something I struggle with, but is crucially important for other members of the lab and also for yourself. It’s natural to assume, when you’re totally cognitively engaged in a problem, that it will be very easy for you to recall later what you did and why. In fact we all tend to overestimate our recall for these details, once we move on to solve new problems. It’s really important to use our electronic lab notebooks in the private Github repo to document our thought processes. (This will help you in the future as well.) This is particularly crucial for recording a paper trail of analytic decisions, data cleaning, and other decisions affecting findings (e.g., leaving out outliers and why).
Because lab notebooks are not only important for record keeping but also for patent applications (in the future), you are expected to follow following lab notebook organization guidelines in the lab:
- Laser notebook : For laser alignment and laser maintenance
- Data collection notebook (XUV and tUV/Vis separate notebooks): Data collected from the laser lab
- Synthesis notebook : You are expected to thoroughly note down your experiments in your lab notebook and leave it when graduating.
Label all data and plots clearly, including units for all axis labels, in every document you create. Include a title or caption that has the date, identifies what was being measured, and clearly describes where the data came from. Use a large font size so that text is legible when the plot is published in a thesis or paper.
Keep your data files, codes, and other documents in a folder under your name, so other students know which files are yours, and to avoid lost files floating on computer drives.
Label files that are part of batches beginning with the date in this format: YYYY-MMDD, followed by a consistent project abbreviation, a descriptive but concise name, and indicators that distinguish the particular details of the simulation or measurement.
Save all of your project files in their proper places in our group folders or servers and keep the folders updated and organized. Design the folder structure(s) to reflect natural divisions in the data and to facilitate easy retrieval of files. Move out old file versions into a subdirectory so that the latest file versions can be easily located.
Back up electronic data in three places, two of which should be in different physical locations.
