Search Results

Search: Posts Made By: AMBER
4,050
Posted By AMBER
Thank you so much! All posts are really helpful,...
Thank you so much! All posts are really helpful, it works using read, grep, awk and nwak~ The 'grep value+space' is really smart, it solved so many problems~ Thank you guys again :)
4,050
Posted By AMBER
How to get lines started with matched strings using sed or grep for loop?
I have a huge file and want to separate it into several subsets.
The file looks like:

C1 C2 C3 C4 ... (variable names)
1 ....
2 ....
3 ....
:
22 ....
23 ....

I want to separate...
2,117
Posted By AMBER
How to combine 500 .txt files when the default is 12 using 'paste'?
Hi,

I want to combined 500 .txt files (each file only has one line) to a single txt file (A.txt).

for example,

A1.txt with
12
23
34
45

A2.txt with
56
67
78
89

...etc, so I...
3,011
Posted By AMBER
Thank you so much rubin! This works perfect!!!
Thank you so much rubin! This works perfect!!!
3,011
Posted By AMBER
How to remove columns with specific strings?
If I have a data test.txt with 1000 columns such as:

id sex gene1 gene2 gene2.dl gene3 gene4 gene4.dl .......
1 1 AA AT AT TT AT AT .......
2 1 AG ...
3,332
Posted By AMBER
Thank you everyone! The codes are great and works!
Thank you everyone! The codes are great and works!
3,332
Posted By AMBER
To define the "different" numbers of columns in...
To define the "different" numbers of columns in my dataset:

I know most of my rows in the dataset suppose to be N, but there are fews with N+2 or N+4, I want to find out which rows they are and...
3,332
Posted By AMBER
Find different column numbers among rows in data
I want to find the different column numbers among rows in a file. For example:

A001 a b c d e ... N
A002 a b c d e ... N
A003 a b c d e ... N+1
A004 a b c d e ... N
A005 a b c d e ... N+2
:...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy