#!/bin/bash awk '{print $1"\t"$4-1"\t"$5"\t"$1"-"$4-1"-"$5""$7"\t0\t"$7}' "$@"