Adapted and expanded from here

Motivation

File organisation and naming - effective weapons against chaos

How to name files

There are some key principles for naming your files. File names should be:

  1. machine-readable
  2. human-readable
  3. ordered logically in your file browser

1. Machine-readable file names

Machine-readable file names allow you to easily:

How to achieve this:

2. Human-readable file names

Human-readable file names should:

3. Logical order of files in the file browser

To have your files logically sorted in your file browser, you should start the file name with a prefix that ensures an alphabetical order that is logical for you:

Exercise:

You are collecting data on how the expression of two target genes changes in response to temperature in different accessions of Arabidopsis:

How would you organise your data files? Suggest a file naming scheme which is both machine and human readable. What information should the file names contain?

How to organise files in folders:

Research projects are quite different and the file organisation scheme that you adopt depends on the types of data that you are dealing with. Although there is no “universal” solution, poor organisation choices can slow down research progress.

Some general principles:

Sample folder structure for a generic project:

Version control

At some point you will inevitably generate multiple versions of the same file with slightly changed contents. There are multiple ways to manage the versions:

2013-10-14_manuscriptFish.doc
2013-10-30_manuscriptFish.doc
2013-11-05_manusctiptFish_initialRyanEdits.doc
2013-11-10_manuscriptFish.doc
2013-11-11_manuscriptFish.doc
2013-11-15_manuscriptFish.doc
2013-11-30_manuscriptFish.doc
2013-12-01_manuscriptFish.doc
2013-12-02_manuscriptFish_PNASsubmitted.doc
2014-01-03_manuscriptFish_PLOSsubmitted.doc
2014-02-15_manuscriptFish_PLOSrevision.doc
2014-03-14_manuscriptFish_PLOSpublished.doc

Further reading: