groovy xmlSlurper check more fields within same level

I have this xml. <?xml version=”1.0″ encoding=”utf-8″?> <entry> <id>E0000</id> <link href=”href”> <inline> <entry> <link href=”href”> <inline> <feed> <entry> <id>E0001</id> <content type=”application/xml”> <props> <status/> </props> </content> </entry> <entry> <id>E0002</id> <content type=”application/xml”> <props> <status/> </props> </content> </entry> <entry> <id>E0003</id> <content type=”application/xml”> <props> <status>S00</status> </props> </content> </entry> </feed> </inline> </link> </entry> </inline> </link> </entry> I’m using xmlSlurper to…

Details

merge multiple file using common IDS

I have many files, which I want to merge using common Ids in Column 1. File1: MYORGANISM_I_05140.t1 Atypical/PIKK/FRAP MYORGANISM_I_06518.t1 CAMK/MLCK MYORGANISM_I_00854.t1 TK-assoc/SH2/SH2-R MYORGANISM_I_12755.t1 TK-assoc/SH2/Unique File2: MYORGANISM_I_05140.t1 VALUES to be taken MYORGANISM_I_12766.t1 what FILE3: MYORGANISM_I_16941.t1 OK MYORGANISM_I_93484.t1 LET IT BE I want to merge many file and add ‘-NA-‘ if value is missing, my desired Output:…

Details