aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2022-02-25 20:47 #

jless — a command-line JSON viewer.

2022-02-24 21:49 #

I thought I would write a short post to explain how to fetch genome data from NCBI the old way, but here’s the gist, assuming you want to fetch all bacterial genomes:

% wget ftp://ftp.ncbi.nih.gov/genomes/refseq/bacteria/assembly_summary.txt
% mkdir bacteria_refseq
% awk -F '\t' '{if($12=="Complete Genome") print $20}' assembly_summary.txt > assembly_summary_complete_genomes.txt
% for record in $(cat assembly_summary_complete_genomes.txt); \
    do wget -P bacteria_refseq -e robots=off -r --no-parent -A "*genomic.fna.gz" "$record"/; done

Then wait, like me.

2022-02-24 21:48 #

  Lingua Ignota, Wicked Game.

2022-02-24 21:33 #

Finally got a decent Twitter client… No more unsolicited tweets from nowhere/nobody, maybe?

twterm Spoiler: twterm