-1
perlI具有製表符分隔的文本文件,3列等下列從標籤DELIM文本文件中的列中提取值
Name Description Ontology
dda1 box1_homodomain gn=box1 os=homo C:Cell;C:surface;F:binding;P:toy
dda2 sox2_plurinet gn=plu os=mouse C:Organ;F:transport;P:carrier;P:avi
dd13 klf4_iPSC gn=klf os=Bos C:Cell;F:tiad;P:abs;P:digestion
現在我想分裂值(GN = xxx和OS = XXX)在列說明在本體柱(C:XXX; F = XXX; P = XXX;)值成單獨列像下面:
Name Description gn os C F P
dda1 box1_homodomain box1 homo Cell;surface binding toy
dda2 sox2_plurinet plu mouse Organ; transport carrier;avi
dd13 klf4_iPSC klf Bos Cell; tiad abs;digestion
我想這有導出爲選項卡DELIM文件或Excel file.I會很如果有人能指導我如何在perl中實現這一點,那將是非常棒的。請幫幫我。
在此先感謝
如果你只問一個單一的語言,這個問題會更好。允許使用多種語言的答案只會降低未來讀者使用他們正在撰寫的語言尋求答案的實用性。 – 2015-02-11 21:42:42