BedTotalSize

From genomewiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

you can do this in awk with the single line statement:

awk '{sum += $3-$2}END{printf "total size: %d\n",sum}' file.bed