{"id":13465,"date":"2017-04-17T12:00:48","date_gmt":"2017-04-17T11:00:48","guid":{"rendered":"https:\/\/blogs.nature.com\/naturejobs\/?p=13465"},"modified":"2017-07-12T20:34:31","modified_gmt":"2017-07-12T19:34:31","slug":"techblog-my-digital-toolbox-lorena-barba","status":"publish","type":"post","link":"https:\/\/blogs.nature.com\/naturejobs\/2017\/04\/17\/techblog-my-digital-toolbox-lorena-barba\/","title":{"rendered":"TechBlog: My digital toolbox: Lorena Barba"},"content":{"rendered":"<div id=\"attachment_13467\" style=\"width: 410px\" class=\"wp-caption alignnone\"><a class=\"wpn-image-link\" href=\"https:\/\/blogs.nature.com\/naturejobs\/files\/2017\/04\/LBarba-headshot.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-13467\" class=\"wpn-image wp-image-13467\" title=\"New Faculty Headshots \u00a9 Eleanor Kaufman 2013.\" src=\"https:\/\/blogs.nature.com\/naturejobs\/files\/2017\/04\/LBarba-headshot-680x1024.jpg\" alt=\"\" width=\"400\" height=\"602\" srcset=\"https:\/\/blogs.nature.com\/naturejobs\/files\/2017\/04\/LBarba-headshot-680x1024.jpg 680w, https:\/\/blogs.nature.com\/naturejobs\/files\/2017\/04\/LBarba-headshot-199x300.jpg 199w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-13467\" class=\"wp-caption-text\">Lorena Barba; \u00a9 Eleanor Kaufman 2013.<\/p><\/div>\n<p><a href=\"https:\/\/lorenabarba.com\/\" target=\"_blank\">Lorena Barba<\/a>, a mechanical and aerospace engineer at George Washington University in Washington, DC, has long championed research reproducibility. In January, she traveled to Chile to run a weeklong course on <a href=\"https:\/\/barbagroup.github.io\/essential_skills_RRC\/\" target=\"_blank\">reproducible research computing<\/a>; the month before, she was awarded a 2016 <a href=\"https:\/\/lorenabarba.com\/news\/prof-barba-awarded-a-2016-leamer-rosenthal-prize-for-open-social-science\/\" target=\"_blank\">Leamer-Rosenthal Prize<\/a>, which celebrates those \u201cworking to forward the values of openness and transparency in research.\u201d Here, she talks about flying snakes, \u201crepro-packs,\u201d and copyright.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>1. Please tell us about your research and the key computational tools you use.<\/em><\/strong><\/p>\n<p>My lab has two foci. We study the aerodynamics of animal flyers and gliders, writing software to model those problems in fluid dynamics. In another project, we compute the physics of biological molecules interacting with biosensors, a task that requires differential equations. We use <a href=\"https:\/\/www.nature.com\/news\/programming-pick-up-python-1.16833\" target=\"_blank\">Python<\/a> to develop the ideas, <a href=\"https:\/\/www.nature.com\/news\/interactive-notebooks-sharing-the-code-1.16261\" target=\"_blank\">Jupyter notebooks<\/a> to analyze data and organize results, and C++ to write heavy-duty code. For more computationally difficult problems, we use the CUDA language, which allows us to tackle them on Nvidia graphic processors. For collaboration, we use tools from the world of open-source software, like <a href=\"https:\/\/www.nature.com\/news\/democratic-databases-science-on-github-1.20719\" target=\"_blank\">GitHub<\/a> and <a href=\"https:\/\/www.nature.com\/news\/how-scientists-use-slack-1.21228\" target=\"_blank\">Slack<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>2. What is computational reproducibility, and how did you decide to focus on it? <\/em><\/strong><\/p>\n<p>I\u2019ve always believed that the open-source model is ideal for science, as it exposes the complete sequence of steps that produces a given result. About five years ago, I made a pledge (the \u201c<a href=\"https:\/\/figshare.com\/articles\/Reproducibility_PI_Manifesto\/104539\/1\" target=\"_blank\">Reproducibility PI Manifesto<\/a>\u201d) to always follow basic steps for transparency and rapid communication (for instance, posting articles on preprint servers). Since then, my students and I have honed our lab practices for reproducibility. But rather than reproducibility being our focus, it is the core of our methods, and it permeates everything we do. Computational reproducibility is a principle of conducting research so that any competent reader can re-create the results completely, to verify or build from them. It demands full transparency and the open sharing of code and data, but that\u2019s not all: Reproducible research stands out for its high standards of process and practice.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>3. You\u2019ve written that the key to ensuring reliability and transparency in science is by \u201cautomating every step\u201d. What does that mean, in practice?<\/em> <\/strong><\/p>\n<p>Automating every step means turning protocols into code: Writing scripts to make plots of data rather than pointing-and-clicking on a GUI, running simulations with parameters fed from a configuration file rather than an interactive prompt, and so on. That creates a complete \u201crecipe\u201d in code\u2014one that can be run, or shared, over and over again. Say you run a simulation of the flow around a flying snake (as we do!), and you want to test different scenarios to see what happens. If you try tweaking parameters \u201cby hand,\u201d you\u2019ll have a hard time repeating the process later. And it will be impossible to give someone else a precise description of what you did, precluding reproducibility.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>4. You told us about a strategy your lab uses in preparing publications called a \u201creproducibility package.\u201d What exactly is that? <\/em><\/strong><\/p>\n<p>For every figure that presents some result, we bundle the files needed to reproduce it &#8212; input or configuration files used to run the simulation(s) behind the result; code to process raw data into derived data; and scripts to create output graphs &#8212; and deposit them together with the figure into an open-data repository, such as <a href=\"https:\/\/blogs.nature.com\/ofschemesandmemes\/2014\/06\/20\/i-owe-my-business-to-my-frustration-as-a-scientist-figshare-founder-mark-hahnel\" target=\"_blank\">Figshare<\/a>. Figshare assigns the bundle a DOI, which we then include in the figure caption so readers can easily find the data and re-create the result. Our lab uses these packages as test beds for our in-house software, to verify that the results haven\u2019t been compromised by software modifications. And because we maintain a public history of all changes, we achieve what one of my students calls \u2018unimpeachable provenance\u2019.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>5. You publish your figures from the repro-packs under a CC-BY license. What has journals\u2019 response been to that practice? <\/em><\/strong><\/p>\n<p>To be perfectly honest, I was quite concerned that we\u2019d run into trouble, but nothing happened. The first few times, I was very quiet about it. After several papers, I dared to talk about it at conferences, and on Twitter. The final step, after several years, was to present the whole idea to an associate general counsel of the university for her assessment. Four months and a dozen emails later, came her conclusion: journal copyright assignment rules allow for the possibility of a submission including excerpts of previously copyrighted works, and the author is responsible for obtaining permission to use these (in this case, from him or herself). She actually ended her note with, \u201cGood for you for coming up with the idea.\u201d<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>Jeffrey Perkel<\/strong> is Technology Editor,\u00a0<\/em>Nature.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Suggested posts<\/strong><\/p>\n<p><a href=\"https:\/\/blogs.nature.com\/naturejobs\/2017\/04\/04\/joss-gives-computational-scientists-their-academic-due\/\" target=\"_blank\"><em>JOSS <\/em>gives computational scientists their academic due<\/a><\/p>\n<p><a href=\"https:\/\/blogs.nature.com\/naturejobs\/2017\/03\/31\/my-digital-toolbox-santiago-perez-de-rosso-on-git-reimagined\/\" target=\"_blank\">My digital toolbox: Santiago Perez De Rosso on Git, reimagined<\/a><\/p>\n<p><a href=\"https:\/\/blogs.nature.com\/naturejobs\/2017\/03\/10\/genome-editing-meets-version-control\/\" target=\"_blank\">Genome editing meets version control<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lorena Barba, a mechanical and aerospace engineer at George Washington University in Washington, DC, has long championed research reproducibility. In January, she traveled to Chile to run a weeklong course on reproducible research computing; the month before, she was awarded a 2016 Leamer-Rosenthal Prize, which celebrates those \u201cworking to forward the values of openness and transparency in research.\u201d Here, she talks about flying snakes, \u201crepro-packs,\u201d and copyright.&nbsp; <a href=\"\/naturejobs\/2017\/04\/17\/techblog-my-digital-toolbox-lorena-barba#more-13465\" class=\"more-link\">Read more<\/a> <a href=\"https:\/\/blogs.nature.com\/naturejobs\/2017\/04\/17\/techblog-my-digital-toolbox-lorena-barba\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":104777,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[192,200],"tags":[328,5945961,6502635,1539,6677357,75],"class_list":["post-13465","post","type-post","status-publish","format-standard","hentry","category-blog-2","category-technology-2","tag-computing","tag-jeffrey-perkel","tag-lorena-barba","tag-reproducibility","tag-techblog","tag-technology"],"_links":{"self":[{"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/posts\/13465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/users\/104777"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/comments?post=13465"}],"version-history":[{"count":0,"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/posts\/13465\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/media?parent=13465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/categories?post=13465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.nature.com\/naturejobs\/wp-json\/wp\/v2\/tags?post=13465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}