My Profile Photo

Sophia N. Wassermann, PhD


Marine ecologist interested in quantitative approaches to issues at the intersection of fisheries and climate change. Postdoc in the Punt Lab, School of Aquatic & Fisheries Science, University of Washington, in collaboration with the NOAA Alaska Fisheries Science Center & Northwest Fisheries Science Center. PhD in Earth & Ocean Science from the National University of Ireland, Galway.


So You've Started a PhD in a Computational Science: Useful Tools & Resources

To celebrate starting the second year of my PhD (holy #%@!), I’ve created list of resources and tools I’ve been using for Python, version control, managing literature, this website, etc. I hope it’s useful for anyone starting a computational science project and if you’re embarking on a PhD, best of luck; it’s a cake walk.

One caveat: I use a Mac because that’s how I was raised and therefore all the resources below are tailored to macOS. I’m sorry if you use Windows and this isn’t super helpful.

desk setup

My cheery little desk, made prettier by an instagram filter, ofc.

If you have any questions, please send me an email, get in touch on Twitter, or call into the wind when it blows in cold from the East. Without further ado:

Python & Version Control

Installing Python on your computer is deceptively difficult, especially if you’re not used to using your computer’s command line to install applications and packages. Take your time, read up before you start, and ask for help if you need it. These are the tools I used:

  • Homebrew is a package manager that helps with installing and upgrading packages from the command line. It’s necessary for the following steps.
  • Macs don’t come with the current version of Python (3.6.2 at the time of writing, October 2017). Therefore, I use pyenv to manage the multiple Python versions I have downloaded on my computer.
  • Since I’m using pyenv, I also use the pyenv-virtualenv plug-in to create a virtual environment. Basically, this helps keep my project contained separately from the Python versions already installed. That means it’s harder to mess up my computer beyond repair. Using pyenv-virtualenv requires changing the bash-profile (for which you’ll need to see hidden files on your computer) to the lines provided in the virtualenv instructions. This is by far the trickiest part of the installation.
  • Within your virtual environment, you can then use pip to install any dependencies.

For the daily running of Python and for version control, I use the following tools:

  • For my ‘integrated development environment’ (IDE), I use PyCharm. This is essentially the equivalent of using RStudio for R, creating a pleasant working environment where all the aspects you need are in one window. It’s free for educational use.
  • For version control and to back-up of my code (avoiding the this-one.py, no-this-one.py, this-time-I-mean-it.py nomenclature), I use GitHub. Essentially, you create a folder on your computer - a repository - that syncs with your account on GitHub. This repository can be open (allowing for collaboration with other researchers) or private (if you have sensitive or proprietary information).
  • To streamline the GitHub experience, I use GitKraken, a ‘graphical user interface’ (GUI) for Git that makes version control much simpler and is free for students & personal use. I don’t have much experience working on a repository with multiple authors, but GitKraken works well as a single author. As a bonus, their logo is a super cute squid.
GitKraken logo

GitKraken Logo

To learn Python, I’ve taken courses through DataCamp and DataQuest. I went into more depth in my previous Back to School post.

Writing & Reference Management

Despite my better-half’s best efforts, I’m still using Microsoft Word. He recommends LaTeX, a text editing language that allows for much greater control and is used for most (if not all) journal formatting. I made my CV in it using Overleaf, an online LaTeX editor. My main hold-out with Word is Track Changes. However, ShareLaTex, which allows for similar editing to Track Changes and same-time collaboration, is joining Overleaf, so I might be persuaded to jump ship!

I use Mendeley as my reference manager, a necessary tool, now that I’m reading more papers than ever, for multiple projects. It’s similar to EndNote and other technologies, but it’s free! You import your papers into a library, which can then be organized into sub-folders, and there’s a plugin for Word that automates citation and generates your reference list, with a library of styles from various journals and professional societies. It also provides BibTeX export to use with LaTeX. My other favorite aspect is that they have an app, so all my papers are synced with my phone & tablet and I can read and annotate on the go. Just make sure the labelling is correct when you import your papers into Mendeley and you’ll be golden moving forward.

I also keep copies of all the papers I download in Dropbox, which can also be accessed on mobile devices. In fact, I keep all my important Word files in Dropbox as a backup and so I can access my work from my laptop.

‘Personal-Professional Brand’ & Website

There’s some debate over whether personal branding is necessary, or even possible. Nevertheless, having an online presence showing that you’re engaging in your field beyond your personal research, is important for networking and for future job-searching.

Towards that end, I cannot recommend Twitter highly enough. At least for the communities I engage with (marine science, ecology, conservation biology, data science), Twitter is full of amazing practitioners sharing their work, personal experiences, resources, and jokes. It’s a great way to keep tabs on important members of your field and communicate with your peers. I also maintain a Linked-In profile, though I use it much less, and I have this website/blog.

I’ve developed somewhat of a brand by sticking to discussing science on these platforms, though including a little about your other interests can present a more well-rounded picture. Just keep in mind who follows you and whether they’d be interested in what you’re posting, if you’re using social media for professional reasons. Therefore, I keep my Facebook and Instagram profiles separate and private.

As for this website, my goal is to maintain a record of my PhD, providing content that I hope is useful and engaging for my peers and shows some verbal facility to future employers. It also provides a professional-looking landing page. To build the website, I’m using:

  • Jekyll, a static website builder. To be completely honest, I got a lot of help with how to install Jekyll, as it’s built with Ruby, but they have guides on their website.
  • The theme is jekyll-uno.
  • It’s hosted using Amazon Web Services (AWS) S3, which ends up costing me about 50¢ a month. Again, I know embarrassingly little about how it works, but its pretty easy to use. The domain was approximately $12 and I also use my own domain for a custom email address with FastMail, which is $50 annually. Fastmail is also completely add-free, unlike gmail.
  • I have continuous deployment set up using circleci. That means that every time I push new updates to my website to GitHub, my website is updated, automatically.
  • I write my posts in markdown using MacDown.

Miscellaneous Tools

More useful programs and resources:

  • I use Spark as my desktop & mobile email client. It has a lot of fancy features, but in general I find it’s sleeker than my mail app, syncs well with all of my accounts and between my devices, and has handy features for pinning emails to the top of your inbox and filtering important vs. unimportant messages. It works well with other Readdle apps, like PDF Expert, too.
  • SizeUp is a useful tool for re-sizing windows on Mac. Great for when you need to split your screen between two windows, or move them between monitors. A small change, but a useful one!
  • iTerm2 is a replacement for Terminal (command line) for Mac. It’s more customizable than Terminal. One tip: you can control the transparency of the window, which makes it easier to read instructions and run code simultaneously. That’s really nice when you’re not hacker-in-a-movie proficient.
  • Sublime Text is a text editor, useful if you need to look at a couple files in a programming language that you don’t usually use. I use it mostly for JavaScript and HTML

I hope this list has been useful. It’s at least been long. Please get in touch if you have any questions about how or why I use these tools, or recommendations for better ones.

Lastly, my final tool is the other students and post-docs around me. We’re all working on different projects, but getting to sit down over a pint (of tea or beer!) with other people who are going through or have gone through the same experience is invaluable.