#Use input file with format "chrom start end sample cell class scalar num_bins sv_call_name sv_call_haplotype sv_call_name_2nd sv_call_haplotype_2nd llr_to_ref llr_to_2nd"
#
# e.g.
#
my$input_file=$ARGV[0];
if(!$ARGV[0]){
printSTDERR"Input filname missinf=g (use e.g. sv_calls_txt_file_all/RPE1-WT/100000_fixed_norm.selected_j0.01_s0.1/simpleCalls_llr4_poppriorsTRUE_haplotagsTRUE_gtcutoff0.05_regfactor6.txt )\n";
printSTDERR"Filters inversions unless they are seen at least $min_N_inv times.\n";
printSTDERR"Filters deletions only seen in WW and CC chromosomes\n";
printSTDERR"Filters duplications only seen in WW and CC chromosomes (but gives inv-dups seen in such context a PASS)\n";
my($chrom,$start,$end,$sample,$cell,$strand_state_class,$scalar,$num_bins,$sv_call_name,$sv_call_haplotype,$sv_call_name_2nd,$sv_call_haplotype_2nd,$llr_to_ref,$llr_to_2nd)=split(/\t/,$_);#split by TAB