Good data management is a set of small habits that make an experiment reproducible. For a small lab, the goal is not a large data platform; it is a structure that a new student can understand and a backup that survives a failed disk.
File names
A file name should identify the sample, the condition, the date and the processing step without requiring memory. A name such as sample1_final_final2.csv fails all four tests.
A consistent pattern helps. For example, a project code, a sample identifier, a condition, a replicate and a date. Avoid spaces and special characters if the files will be used on the command line. Use a documented separator.
Do not rename files after analysis without recording the change. If a rename is necessary, keep a mapping table.
Folder structure
A simple structure is usually enough: raw data, processed data, metadata, analysis code, results and documents. Separate raw data from anything that can be regenerated.
Raw data should be read-only. If a processing step is wrong, the raw data must remain available to repeat it. Keep the raw files and a checksum.
Metadata
Metadata is the information that makes the data interpretable: sample identity, condition, replicate, batch, instrument, parameters and date. It belongs in a machine-readable table, not only in a notebook.
Use a controlled vocabulary where possible. Decide the allowed values for condition, tissue and treatment before the experiment. A free-text field with five spellings of the same condition is a source of errors.
Backups
A backup is a copy that is separate from the original and can be restored. A second folder on the same disk is not a backup. A cloud sync is not a backup if a deletion propagates.
Follow a simple rule: at least two copies, on different media, with one off-site or in a versioned repository. Test a restore before you need it.
Version control
Code and analysis scripts should be in version control. A repository records what changed and when. Use meaningful commit messages and keep the code with the data or a link to it.
Large data files usually do not belong in a code repository. Store them in a data repository or a managed storage system, and record the location and the checksum in the repository.
Retention and sharing
Decide how long data will be kept and who can access it. Funders and journals often require a data availability statement and a repository deposit. Check the requirements before the project starts.
Share data in a format that does not depend on a single proprietary program. CSV, TSV, FASTA, FASTQ and standard image formats are more durable than a binary file from one software version.
A lab policy
A written policy is more useful than a set of individual habits. It should cover naming, folder structure, backup, retention, access and the person responsible.
Keep the policy short. A one-page document that people follow is better than a long document that nobody reads. Review it once a year.
A practical checklist
- A naming convention with an example.
- A folder structure with a README.
- Raw data stored read-only.
- A metadata table with controlled fields.
- A backup with a tested restore.
- Code in version control.
- A retention and sharing plan.
Working with collaborators
A shared project needs an agreed structure before the first file is created. Decide who owns the raw data, who can write to which folder and how files are exchanged.
Avoid sending files as email attachments with names like data_v3.zip. Use a shared drive or a repository with a clear version. If a collaborator sends a file, record the date, the sender and what changed.
A data transfer agreement may be needed for human or sensitive data. Check the institutional policy before sharing.
Documentation and a README
Every project folder should have a README that explains the structure, the source of the data, the processing steps and the contact person. A new student should be able to open the folder and understand where to start.
Keep a changelog for major changes. A short entry such as "re-ran alignment with new reference on 2026-11-10" is enough to explain a difference in results. Include the reason for the change, not only the date, so that a later reader can judge whether the new result supersedes the old one.
Document the software versions and the commands. A notebook with unlisted versions is not reproducible. A plain text file listing the environment, the command and the output file is often enough for a small project.
When data is lost
If a file is lost or corrupted, stop and assess the scope before trying to fix it. Check the backups, the recycle bin and the sync history. Do not overwrite the only remaining copy.
A lost raw dataset may be impossible to recover. A lost processed file can be regenerated if the raw data, the code and the parameters are preserved. This is why raw data and metadata deserve the most protection.
Key points
- Names should identify sample, condition, date and step.
- Keep raw data separate and unchanged.
- Metadata belongs in a machine-readable table.
- A backup must be separate and restorable.
- A written policy is more durable than memory.
Common mistakes
- Using names that depend on memory.
- Storing raw and processed data in the same folder.
- Relying on a sync service as a backup.
- Keeping metadata only in a notebook.
- Sharing data in a proprietary format with no documentation.
When to ask for help
If a dataset is large, if several labs share it, or if a funder requires a data management plan, ask for a review. You can order an analysis or read the reproducible analysis guide. The Data Engineering & FAIR Data course covers data management, and the reproducible pipelines guide covers code.
Sources and further reading
Written by the Solagene team for research and education. Found an error? Tell us and we will correct it.