input=$1
column=$2
header=$3
regex_filter=$4
out_file=$5

dir="$(cd "$(dirname "$0")" && pwd)"
Rscript --verbose $dir/extract_duplicates.r ${input} ${column} ${header} "${regex_filter}" ${out_file} 2>&1
