artadia
geek and genetics stuff
Friday, September 5, 2025
How to find out Intel MKL version
›
First, find out your installation: $ echo $MKLROOT /opt/intel/oneapi/mkl/2023.0.0 Go there and find the file mkl_version.h : $ find ./ -nam...
Tuesday, July 29, 2025
line end Windows versus others
›
Windows users that introduce their files in Unix (Linux, Mac) systems sometimes have lots of unexpected problems due to end of line codings...
Tuesday, March 25, 2025
handling python files in parallel
›
ar=[str(x) for x in range(0,5)] print(*ar) handles = [open('file'+x, 'w') for x in ar] # not using generator #https://stacko...
Wednesday, November 27, 2024
quick filter in awk
›
make a list of animals in col2 of 1st file, then print 2nd file if animals ar NOT in the list awk 'FNR==NR{inn[$2]; next} !($2 in inn...
Friday, October 18, 2024
python like awk
›
so I want to put Python in a pipe where it reads from std in , does something, writes to std out: $ cat test.py #!/usr/bin/env python3 impo...
Friday, March 1, 2024
extract UPG allocation from renumf90 log
›
so you want to know from the output of renumf90 (say ren.log) how many animals were allocated to each UPG? The output looks like this: ...
Tuesday, January 23, 2024
Dictionary of arrays in Julia and breed fractions
›
So in Julia I want to create a dictionary (hash table or associative array) of arrays to store breed composition in dairy cattle. It took m...
›
Home
View web version