我有大的制表符分隔的两列文本文件,如下所示:
...
"001R_FRG3G" "81941549; 47060116; 49237298"
"002L_FRG3G" "49237299; 47060117; 81941548"
"002R_IIV3" "106073503; 123808694; 109287880"
...
如您所见,第二列不包含原子值。这就是为什么我想“规范化”这个文件,使其具有以下内容:
...
"001R_FRG3G" "81941549"
"001R_FRG3G" "47060116"
"001R_FRG3G" "49237298"
"002L_FRG3G" "49237299"
"002L_FRG3G" "47060117"
"002L_FRG3G" "81941548"
"002R_IIV3" "106073503"
"002R_IIV3" "123808694"
"002R_IIV3" "109287880"
...
任何人都知道如何有效地做到这一点?