The awk script I have allows conversion of a list to row but on condition that each cluster is separated by a Hard return.
Unluckily this is not the case here. I have tried to modify it such that a database of the type above can be clustered together. The expected output would be:
How do I modify the script such that the output above is generated and all homographs belonging to the same numerical ID are clustered together.
I have tried to adapt the script but without much success.
Many thanks
Many thanks. It worked beautifully.
I understood the logic (most important) My only query:
Wnat does the semi-colon do after the file delimiter. I normally write:
The script gives the same output both with and without the semi-colon.
Does the semi-colon bring in any change
Hi ALL,
We have requirement in a file, i have multiple rows.
Example below:
Input file rows
01,1,102319,0,0,70,26,U,1,331,000000113200000011920000001212
01,1,102319,0,1,80,20,U,1,241,00000059420000006021
I need my output file should be as mentioned below. Last field should split for... (4 Replies)
Hello ,
Can anyone please help me to solve the below -
Input.txt
source table abc
col1 char
col2 number
source table bcd
col1 date
col2 char
output should be 2 files based on the row separator "source table"
abc.txt
col1 char (6 Replies)
Hi,
I have a file with 25 clusters and each cluster has multiple rows. I need to find the unique genes in each cluster and assign them
Annotation Cluster 2 Enrichment Score: 10.199579524507685
Category Term Count % PValue Genes List Total Pop Hits Pop Total Fold... (1 Reply)
Hello,
I have a large database with the following structure:
set of clustered names followed by a hard return and followed by a second set of clustered names and so on. Sometimes the clusters can be as many as 150.
Since the data is in an Indian language, a theoretical example will make this... (9 Replies)
Hi, I have a series of files (upwards of 500) the filename format is as follows
CC10-1234P1999.WGS84.p190, all in one directory.
Now the last three numeric characters, in this case 999, can be anything from 001 to 999.
I need to move some of them to a seperate directory, the ones I need to... (5 Replies)
My input file:
Class
Number Position Range
1 Initial 50
1 Initial 50
2 Terminal 150
2 Terminal 20
2 Single 10
3 Single 20
4 Double 50
5 Initial 50
5 Initial 60
Class
Number... (11 Replies)
I would like ot create shell script/ bash to create diffrent files based on a file and parameters list.
Here is the detail example: I have a textfile and four static parameter files (having ‘?'). mainfile.txt has below records (this count may be more than 50)
A200001
A200101
B200001... (9 Replies)