Small ultrafast program for estimating the read length and get the insert size from uncompressed samples:
It's a faithful implementation of this script [2]
wget http://www.popgen.dk/software/download/getinsertsize.cpp g++ getinsertsize.cpp -O3 -o getinsertsize