ukb dataset is the example dataset.
king -b ukb.bed --ibdseg --prefix ukb
Output files: ukb.seg,ukb.segments.gz,ukballsegs.txt
Run IBDseg.R in the same directory.
Reference: http://people.virginia.edu/~wc9c/KING/manual.html#IBDSEG
king -b ukb.bed --roh --prefix ukb
Output files: ukballsegs.txt,ukb.roh,ukb.rohseg.gz
Run ROH.R in the same directory.
Reference: http://people.virginia.edu/~wc9c/KING/KINGvisualization.html