- 论坛徽章:
- 307
|
- #!/usr/bin/perl
- use strict;
- use warnings;
- while (<DATA>){
- (my $v, local $_) = split (' ', $_, 2);
- my @aT = /\(([^;]+)\b/g;
- printf ("$v %s\n", join (',', @aT));
- }
- __DATA__
- ENSRNOG00000004589 transferase activity, transferring glycosyl groups(GO:0016757);carbohydrate binding(GO:0030246)
- ENSRNOG00000047193 olfactory receptor activity(GO:0004984)
- ENSRNOG00000009686 water channel activity(GO:0015250);glycerol channel activity(GO:0015254);urea channel activity(GO:0015265)
- ENSRNOG00000015822 RNA polymerase II core promoter proximal region sequence-specific DNA binding(GO:0000978;transcriptional activator activity, RNA polymerase II core promoter proximal region sequence-specific binding(GO:0001077);nucleic acid binding(GO:0003676);DNA binding(GO:0003677);metal ion binding(GO:0046872)
复制代码
ENSRNOG00000004589 GO:0016757,GO:0030246
ENSRNOG00000047193 GO:0004984
ENSRNOG00000009686 GO:0015250,GO:0015254,GO:0015265
ENSRNOG00000015822 GO:0000978,GO:0001077,GO:0003676,GO:0003677,GO:0046872 |
|