create  'general join' function in script_gen_consensus_xls.sh