def get_reverse_primers(id_map):
 rev_primers = {}
 for n in id_map.items():
  rev_primers[n[1]['BarcodeSequence']] = [str(DNASequence(curr_rev_primer).rc()) for curr_rev_primer in n[1]['ReversePrimer'].split(',')]
 return rev_primers

def get_reverse_primers ( id_map ) : rev_primers = { } for n in id_map . items ( ) : rev_primers [ n [ 1 ] [ 'BarcodeSequence' ] ] = [ str ( DNASequence ( curr_rev_primer ) . rc ( ) ) for curr_rev_primer in n [ 1 ] [ 'ReversePrimer' ] . split ( ',' ) ] return rev_primers
return a dictionary with barcodes and rev-complement of rev primers .