Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

I’ve never used many useful functions when writing scripts before, so I decided to learn a bit about itertools and make some notes. This time, I was dealing with large files, but most of the time, ...

R provides convenient multiprocessing capabilities, and Python has similar functionality.

Recently, I wrote a script to draw many images using ggplot. Although all the places where loops are needed have already been replaced with apply, it still can’t keep up when drawing hundreds of images at once. So, I fiddled around with parallel and managed to parallelize the plotting part to speed things up.

It’s been a while since the last update. Today, I’ll record the upgraded version of my homemade VPN!

Snakemake is indeed a very useful tool for workflow development and management. However, in certain scenarios, it can also bring some issues. Coincidentally, I discovered a rather unconventional way of using it: only use Snakemake’s dependency handling and task management, while generating scripts separately.

Writing workflows is a common task in bioinformatics analysis, and a mature and well-designed tool can greatly improve the efficiency of work.

bash-it is a collection of bash plugins inspired by oh-my-zsh. Installing bash-it not only makes the bash interface more stylish but also makes the command line more convenient.

I have been using argparse for command line parsing, but it wasn’t until recently that I discovered it can be used to create subcommands.

There’s not much to say, just commemorating my first independent completion of a command-line program~

It seems I hit a bug again…