Bash

Get notifications on desktop and mobile from long-running jobs in your terminal sessions
·847 words·4 mins
Use ntfy.sh to send yourself desktop and mobile push notifications when long-running terminal jobs 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 …