TIL
Today I Learned
- TILs: 21
- Topics: 10
Alfred
custom_search
Useful custom search engines for Alfred (2020-05-22)
bash
download_if
Download file if it is not present (2020-06-16)draw_a_box
Create boxed text using a bash alias (2020-05-22)set_of_commands
Output multiple commands as a single stream (2020-05-22)split_bed
Split a bed file by size and on chromosomes (2020-08-12)
docker
run_alias
Docker alias for quickly running images (2020-05-22)
github
build-and-pub-docker
Build and publish a docker container using GitHub Actions (2020-05-22)
Nextflow
groupKey
Use thegroupKey
operator to prevent blocks and improve caching (2020-05-22)sort_collect_file
Sort lines in a file assembled usingcollectFile
with a closure (2020-05-22)
Python
lru_cache
memoization using lru-cache (2020-05-22)parallel_downloads
Parallel downloads with progress bars using urlretrieve (2020-05-22)pipreqs
Managing Python requirements.txt (2020-05-22)
R
gsheet_preview
Open dataset in google sheets (2020-05-22)operators
R operators (||
vs|
,&&
vs&
) (2020-05-22)row_iterator
Iterate over a set of rows in rows R (2020-05-22)vectorize_list
Set vectors from plain text lists (2020-06-06)
slurm
backdoor-node
Run a 'backdoor' interactive node (2020-05-22)job-summary
Dump metrics for all slurm jobs (2020-05-22)
SQL
COALESCE
Take the first NON-NULL value from a list of values (2020-05-22)FIND_IN_SET
Find an element in a delimited list (2020-05-22)
VCF
calculate_het_rate
Calculate the heterozygosity rate at per-site from a VCF (2020-06-06)