Bash

Get notifications on desktop and mobile from long-running jobs in your terminal sessions
·847 words·4 mins
If you’re like me, you get tired of waiting for long-running jobs in the terminal. You run a new command, and you don’t really know how long it should take to finish. …
Monitor disk usage on your server
·532 words·3 mins
You might consider monitoring your disk usage, because this might reveal trends that help you to plan for the future. Here, we’ll use a cron job to periodically scan a …
Print bigWig data for each region in a BED file
·275 words·2 mins
I wrote a Bash script to call bigWigToBedGraph for each region in a BED file. You can quickly take a subset of bigWig data for regions of interest. In my particular case, I needed …
Make ribosomal RNA intervals for Picard CollectRnaSeqMetrics
·219 words·2 mins
Before you can use the CollectRnaSeqMetrics Picard tool, you must create a table of genomic intervals with the coordinates of all ribosomal genes in the genome. I wrote a bash …