Previously I described how to use GNU screen to run bash commands in background. In addition to that, if sometimes it happens that a detached command terminates before completion, we would like to have logs for that command, e.g., in order to determine why and when an error occurred. This post explains how to log the progress of a command […]
Manhattan plot for GWAS
Based on R Bioconductor Sushi package I created a step-by step guide of how to produce a Manhattan plot for a genom-wide associaction study (GWAS).
PsychoPy – a basic example
PsychoPy is an excellent tool for preparing psychological experiments in Python. However, it seems that entry-level examples one can find in the web are rather sophisticated. Hence, I prepared this basic example featuring: Installing PsychoPy on Linux Displaying a simple stimulus Simplest possible keyboard event Installing PsychoPy on Linux Open a terminal (5 Ways to Open a Terminal Console Window […]
How to use FreeSurfer – Part 2
Introduction In this chapter, we are going to take a deep dive into FreeSurfer’s output and make some clarifications about it. After data processing from in Part 1, you should see something like this: We will mainly focus on folder “stats” because it contains files with plain text. Which is good for some visualizations and analyses. I will go through […]
When plain Bash is not enough
I recently read an excellent introductory Bash tutorial on Dev.to by Sahil Bondre. It is a really great tutorial on shell scripting basics, but I remember when I was beginning my adventure with shell scripting and I became fascinated with Bash. In fact, I was a bit over-fascinated with it. With my neuroimaging scripts becoming more and more complex, I […]