Search Results

Search: Posts Made By: valente
1,536
Posted By valente
Hey Pamu, great script using awk!!! It worked...
Hey Pamu, great script using awk!!! It worked very well!!! Could you consider to help me one more time?
After to run your script I had a file that I would like to split it since the second column of...
1,536
Posted By valente
Hi Pamu, thanks for your script. I'm very happy...
Hi Pamu, thanks for your script. I'm very happy with the results.
I just have a problem that I would like to have your help, because I'm a newbie in these things.
My imput is:

imput
scaffold_0 ...
1,536
Posted By valente
Finding contiguous numbers in a list but with a gap number tolerance
Dear all,
I have a imput file like this
imput
scaffold_0 10558458 10558459 1.8
scaffold_0 10558464 10558465 1.75
scaffold_0 10558467 10558468 ...
5,154
Posted By valente
Weird ^M characters is disturbing the paste command
Dear all,
I have the files: xaa xab xac
and I try to paste them using $paste -d, xaa xab xac
I see:

output
3e-130
,6e-78
,5e-74
6e-124
,0,007
,0,026
2e-119

When I type: $ paste -d,...
1,351
Posted By valente
Hi elixir_sinari, thank you very much for your...
Hi elixir_sinari,
thank you very much for your smart script. It is very useful and quick (each file has 1 millions of lines).

Best regards.
1,351
Posted By valente
Merging two columns from two files with similar names into a loop
I have two files like this:
fileA.net
A
B
C

fileA.dat
1
2
3

and I want the output

output_expected
A 1
B 2
C 3

I know that the easier way is to do a paste fileA.net fileA.dat,...
5,007
Posted By valente
Thanks Cabrao, however, I have thousand of couple...
Thanks Cabrao, however, I have thousand of couple of files to be joined and to do a paste for all of them is not so feasible. The that I wrote is into a loop for.
5,007
Posted By valente
echo two variables like the paste command is not working
Dear all,
I have two files like this

file1
A B
C D
E F

file2
1,2
3,4
5,6

I want this output
output_expected

A B 1,2
C D 3,4
E F 5,6
1,407
Posted By valente
Printing lines with non-redundant itens in the output
Hi all,
I'm trying to select lines of a file and at the end do not have redundant itens:

Input
A_B
K_A
C_T
A_O
U_B
P_C
D_F
Z_G
W_U

Output
A_B
C_T
D_F
Z_G
W_U
12,694
Posted By valente
Thanks Robin, It is nice to have smart guys like...
Thanks Robin, It is nice to have smart guys like you in computer.
I'm a newbie in programming, in fact I'm a biologist that is entering in bioinformatics.
So I have two question,
when I insert...
12,694
Posted By valente
Reading two lines in a while loop and combining the lines
Dear all,
I have a file like this:
imput
scaffold_0 1
scaffold_0 10000
scaffold_0 20000
scaffold_0 25000
scaffold_1 1
scaffold_1 10000
scaffold_1 20000
scaffold_1 23283

and I want the...
1,407
Posted By valente
Reading columns, making a new file using another as template
Hi fellas,
I have two files such as:
File 1
interacao,AspAsp,AspCys,CysAsp,CysCys,classe

File 2
interacao,AspAsp,CysAsp,AspCys,CysCys,classe
beta_alfa, DA, CA, DD, ...
1,106
Posted By valente
Thanks bartus11. It worked fine....
Thanks bartus11. It worked fine. (https://www.unix.com/members/302059620.html)
1,106
Posted By valente
Searching inverted lines
Hi fellas,
I have a file like this:
A_B
B_D
C_D
D_B
E_F
G_H
B_A
F_E

In other words, I have member1_member2 and member2_member1 in the same file. In the exemple aforementioned I have A_B...
1,901
Posted By valente
Thanks for the information vbe. I'm using a...
Thanks for the information vbe.
I'm using a computer with a quad core processor, 12 GB of RAM and MAC OSX of OS.
The real file has 4 GB and 40,000,000 of columns.

Is it enough to help me?
...
1,901
Posted By valente
Parallelize a task that have for
Dear all,
I'm a newbie in programming and I would like to know if it is possible to parallelize the script:
for l in {1..1000}
do
cut -f$l quase2 |tr "\n" "," |sed 's/$/\
/g' |sed '/^$/d'...
1,071
Posted By valente
1,071
Posted By valente
Combine all lines of a file with all lines of another file.
Dear all,
I would like to combine all lines of a file with all lines of another file:
The input are
file 1
A
B
C
D

file 2
A
B
C
D

The output is
final file
A_A
A_B
A_C
Showing results 1 to 18 of 18

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