carpentries-incubator / docker-introduction

Reproducible Computational Environments using Containers
https://carpentries-incubator.github.io/docker-introduction/
Other
49 stars 49 forks source link

More exercises #32

Open sstevens2 opened 4 years ago

sstevens2 commented 4 years ago

Met up with @aturner-epcc and @jcohen02 today and we discussed that the lesson needs more exercises. Adding this as a placeholder to look for places where we might add more exercises.

jsgro commented 3 years ago

There are many exercises (target = biologists) in my Docker tutorial https://bcrf.biochem.wisc.edu/docker-beginner-for-biologists/

Part 1 - mostly similar to what is currently in the Carpentries lesson (hello-world etc.)

Part 2 - Sequence (pairwise) alignment (using EMBOSS) - note: requires TAG of the docker image

Part 3:

Part 4: Graphical software - X11 and HTTP

aturner-epcc commented 3 years ago

@jsgro Thanks for sharing - will take a look at these

jsgro commented 3 years ago

Please note that I wrote all of these exercises while at the same time trying to figuring out how things work. It is very likely that they could be "streamlined" or clarified by a more experienced user.

ChristinaLK commented 3 years ago

Just from the summary, I wonder if these exercises would be good for a domain specific "extra" or "add-on" episode.

jsgro commented 3 years ago

Here is an exercise subject related to MS Excel spreadsheet that I am sure would me useful for a more "generic" type of exercise. "csvkit is a suite of command-line tools for converting to and working with CSV, the king of tabular file formats." https://csvkit.readthedocs.io/en/latest/ which can be used with (or within) a docker version (hence no need to install.)

To remember what I did I also wrote a blog about this: https://bcrf.biochem.wisc.edu/2020/10/13/csvkit-command-line-spreadsheet-can-convert-and-compute-multiple-excel-files/

csvkit is based on python 3.x but the end-used does not necessarily need to know that. The great thing here is that this is isolated in the container and therefore does not interfere with any local python.

Dealing with tabular data is rather universal. Just an idea. JYS