X BOL wishing you a very and Happy New year

Alternative content

Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Plot kmer stats in bash !

  • Public
By Rahul Nayak 1025 days ago
#!/bin/bash #Counting k-mers for different k echo "k,unique,distinct,total" for k in {1..15}; do kat hist -o phiX_$k.hist -m $k phiX.fasta >/dev/null 2>&1 egrep -v '^#' phiX_$k.hist|awk '{if ($1==1) u=$2; d+=$2; t+=$2*$1;}\ END{print "'$k',"u","d","t}' done