Search Results

Search: Posts Made By: giuliangiuseppe
1,130
Posted By giuliangiuseppe
Can you send the error message? Thanks ...
Can you send the error message?

Thanks

G
710
Posted By giuliangiuseppe
try "${link}"
try "${link}"
1,476
Posted By giuliangiuseppe
Can you give some more details?
Can you give some more details?
2,313
Posted By giuliangiuseppe
Actually that number is useless so is fine like...
Actually that number is useless so is fine like that...it's always different if first field is different..

Thanks

Giuliano
2,313
Posted By giuliangiuseppe
It works great! Thanks!
It works great!

Thanks!
2,313
Posted By giuliangiuseppe
Concatenate files based on names
Dear all,
I have a list of files and I woulk like to concatenate some of them based on their name.
Basically my files are names like that:


file1_abcd_other_useless_letters_1_C1.txt...
1,359
Posted By giuliangiuseppe
Yes my specific case was without more that 2...
Yes my specific case was without more that 2 replicates.
Thank you for your help!

Best
1,359
Posted By giuliangiuseppe
That works perfectly! thanks! G
That works perfectly!
thanks!

G
1,359
Posted By giuliangiuseppe
Merge row based on replicates ID
Dear All,
I was wondering if you may help me with an issue.
I would like to merge row based on column 1.

input file:

b1 ggg b2 fff NA NA hhh NA NA NA NA NA
a1 xxx a2 yyy NA NA zzz NA NA NA...
1,673
Posted By giuliangiuseppe
Well, basically I can filter the file and exlude...
Well, basically I can filter the file and exlude the interaction that are single.


a b 0
a c 0
a f 1
b a 1
b a 0
b c 1
d f 0
g h 1
f d 1In this case for each row I could check if...
1,673
Posted By giuliangiuseppe
Reduce redundant file
Dear All,
I have to reduce the redundancy of a file that is like this:


a b 0
a c 0
a f 1
b a 1
b a 0
b c 1
d f 0
g h 1
f d 1
Basically, this file describe a network with relative...
1,124
Posted By giuliangiuseppe
Ahhh, thank you! That works! Best...
Ahhh, thank you!

That works!



Best

G
1,124
Posted By giuliangiuseppe
Move directories in script.sh doesn't work
Dear All,
I would like move some directories in another location.
Basically, my ls -lis


drwxr-xr-x 3 XXXXXXXXXXXXXXXXXXXX 4096 Feb 24 02:18 data.N701_N502.ABCDE
-rw-r--r-- 1...
1,293
Posted By giuliangiuseppe
Thank you for you suggestion... do you know...
Thank you for you suggestion...

do you know how to add the indtermediated step inside the command above?

Best

Giuliano
1,293
Posted By giuliangiuseppe
Extract name from path and change output
Dear All,

I would like to extract the file name without extension form a variable...
In particular I have a command like this one:

for file in path/to/file/example_number.ext
do something...
997
Posted By giuliangiuseppe
works good thanks!
works good thanks!
997
Posted By giuliangiuseppe
Yes sorry I didn't, I didn't think about it...
Yes sorry I didn't, I didn't think about it...
997
Posted By giuliangiuseppe
Dear RudiC, your script show only the last...
Dear RudiC,
your script show only the last entry.
In fact if File1 is:

1 195240910 +
1 195240920 +
2 195240915 -The output is:

1 195240920 4 5 8 5 6
2 195240915 0 2 9 5 9instead of:
1...
997
Posted By giuliangiuseppe
Compare colunmn and find value within a ranges
Dear All,
sorry for open a new thread but the old one (https://www.unix.com/shell-programming-and-scripting/263430-find-values-within-range-output.html) is already marked as resolved but actually it...
1,077
Posted By giuliangiuseppe
Thank you RudiC for your reply and sorry for my...
Thank you RudiC for your reply and sorry for my "far from clear explanation".

It works!
1,077
Posted By giuliangiuseppe
Find values within range and output
Dear All,
I am stacked and I ask for your help.
Briefly, I have two files, one like this one (file1):

1 101 5
1 102 6
1 103 2
1 104 9
1 105 10
2 301 89
2 302 4
2 303 13
2 304 34
2 305...
1,100
Posted By giuliangiuseppe
Thanks Scrutinizer, works great!
Thanks Scrutinizer, works great!
1,100
Posted By giuliangiuseppe
Loop "for" with 2 input
Dear All,
I am stacked in how to do a "for" loop with two input. Well, I try to explain better.

In a folder I have a series of files that are coupled;


a_1.txt
a_2.txt
b_1.txt
b_2.txt...
1,031
Posted By giuliangiuseppe
It works prefectly. The only things is that...
It works prefectly.
The only things is that should be nice that file name is the first line of each file (without >)


cat Id1
>Id1
textA

cat Id2
>id2
textB


Best

Giuliano
1,031
Posted By giuliangiuseppe
Conditional splitting in more file
Dear All,
I was wondering in how split one file in multiple file in a conditional way.

Briefly, I have a file like this:

>Id1
textA
>Id2
textBand my outputs file (2 in this case) shoul be:...
Showing results 1 to 25 of 74

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