.. _reproducible_workflows: 21. Reproducible workflows ========================== `Griffin Chure `_ gave a guest lecture on reproducible workflows and using version control software to facilitate them. He inspired us to do this because "Everything you do as a scientist is for other people to use." Guidelines for reproducible research ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ He gave five guidelines to keep in mind when conducting research. 1. Reproducibility starts from project *inception*, not completion. 2. Draft the layout of your analysis, even if you don't know how it will change. 3. Document as you go along, not when your colleague wants to use your code. 4. Separate your code by what it does, not when you'd use it. 5. Sunlight (UV) is the best disinfectant. Work in the open unless legally forbidden. Links to resources ^^^^^^^^^^^^^^^^^^ - Griffin showed an interesting study on computational reproducibility by `Victoria Stodden `_ and coworkers, which you can download `here `_. - He presented an example of how version control and careful organization of his code and protocols was used to do reproducible research to study the energetics of molecular adaptation in transcriptional regulation. You can access the repository `here `_ The permanent link to the archived version of the repository used in the publication can be found `here `_. - He also provided a template repository for how he structures his research that you can clone and use for your own work. You can access it `here `_. - Griffin encourages you to contact him at `griffin at caltech dot edu` if you would like to discuss or have questions.