Hi all
sorry the output shuld contain only once the entry in first columns like thisL
Quote:
AGF X 1 disease1 approved
h 2 disease2 not approved
XYZ
CBK
BGY
BGY
---------- Post updated at 10:32 PM ---------- Previous update was at 10:22 PM ----------
Hi Jim
The output stiil contain repeated entries its just sorted it alphabetically. using this coding
Quote:
bash-3.2$ awk '!arr[$0]++' TTDtargets2.txt | sort > TTDtargets3.txt
bash-3.2$
it shows
Quote:
1,3-Beta-Glucan synthase Anidulafungin DAP000546 Fungal infections Approved
1,3-Beta-Glucan synthase Caspofungin DAP000547 Fungal infections Approved
1,3-Beta-Glucan synthase Cilofungin DCL000331 Candida infections Discontinued
1,3-Beta-Glucan synthase Eraxis/Vfend DCL000522 Beta-D Glucan Synthase Inhibitor, Cyp P450 Mediated Alpha-lanosterol Demethylation Phase III
1,3-Beta-Glucan synthase Micafungin DAP000548 Fungal infections Approved
16S rRNA
I want the output shuld be
1,3-Beta-Glucan synthase Anidulafungin DAP000546 Fungal infections Approved
Caspofungin DAP000547 Fungal infections Approved
Cilofungin DCL000331 Candida infections Discontinued
Eraxis/Vfend DCL000522 Beta-D Glucan Synthase Inhibitor, Cyp P450 Mediated Alpha-lanosterol Demethylation Phase III
Micafungin DAP000548 Fungal infections Approved
16S rRNA [/QUOTE]
---------- Post updated 07-24-12 at 10:18 AM ---------- Previous update was 07-23-12 at 10:32 PM ----------
Quote:
Originally Posted by
manigrover
Hi all
sorry the output shuld contain only once the entry in first columns like thisL
---------- Post updated at 10:32 PM ---------- Previous update was at 10:22 PM ----------
Hi Jim
The output stiil contain repeated entries its just sorted it alphabetically. using this coding
it shows
I want the output shuld be
1,3-Beta-Glucan synthase Anidulafungin DAP000546 Fungal infections Approved
Caspofungin DAP000547 Fungal infections Approved
Cilofungin DCL000331 Candida infections Discontinued
Eraxis/Vfend DCL000522 Beta-D Glucan Synthase Inhibitor, Cyp P450 Mediated Alpha-lanosterol Demethylation Phase III
Micafungin DAP000548 Fungal infections Approved
16S rRNA
[/QUOTE]