#!/bin/bash
## Converts find_circ output file to compatible bed format

awk 'BEGIN {OFS="\t"} { if ($4 ~ /circ/) print $1,$2,$3,$6,$7 }' $1 > ${1}.circles.bed
