artadia
geek and genetics stuff
Friday, December 12, 2025
two simple python programs
›
This program codes numerically unknown parent groups from a pedigree file where missing parents have codes "GR", and there is dat...
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: ...
›
Home
View web version