I have 2 data frames with 2 columns each like
df_prefix:
MacroNode_Prefix Prefix
AAAAATTCGA ATG
TGACGGCTAT C
GCATCTTAAC GC
df_suffix
MacroNode_Suffix Suffix
AAAAATTCGA G
CGAATCATTG ATGGAC
GCATCTTAAC TCG
I want to create a third data frame where the common nodes from both the data frames will be there along with the respective prefix and suffix. Like:
Prefix Common_Node Suffix
ATG AAAAATTCGA G
GC GCATCTTAAC TCG