Search Results

Search: Posts Made By: lsantome
992
Posted By lsantome
Gap length between intervals
hi all,

I wish to calculate the length between intervals whose are defined by a starting and an end possition. The data looks like this:

1 10
23 30
45 60
70 100...

The desired output...
1,168
Posted By lsantome
Store 'for' loop iterations in memory
hi all,

I'm writting a simple bash script to do a recursive paste over >10000 files with two columns each.

The files looks like this:
A1BG 3
A1CF 3
A2M 3
A4GALT 5
AAAS 2...
1,553
Posted By lsantome
SOLVED: It works!
Perfect!
Thank you so much!
1,553
Posted By lsantome
How to prompt user to define a variable?
Hi everyone,

Is it possible to define blank vaianbles and prompt user to fill them during the script execution?

A very simple example:

INPUT=
OUTPUT=

cut -f1-4 $INPUT | sed...
3,926
Posted By lsantome
Thanks!
Wow! It looks easy but I could expend the rest of my life on doing it.

Thank you so much Don Cragun!
3,926
Posted By lsantome
awk loop for to filter lines by max value
Hi all,

I'm struggling to filter my data frame. I need to print only those lines whose max value (the number of columns may vary) is above a cut-off value.

My data looks like this:

chr22 ...
1,044
Posted By lsantome
SOLVED! Thank you so much
Thank you Scrutinizer and SriniShoo for your quick and useful replies

SriniShoo, your code works nicely.

Thank you so much!

---------- Post updated at 12:10 PM ---------- Previous update was...
1,044
Posted By lsantome
Building intervals
Hi all,

I hope you can help me with the following question:

I have multiple tables like this:

Chr Start End Zygosity Gene
chr1 153233510 153233510 het LOR...
17,394
Posted By lsantome
clear like water
clear like water
17,394
Posted By lsantome
SOLVED
It works!

Awesome! Brilliant! Wonderful!

Thank you so much!!!

---------- Post updated at 03:44 PM ---------- Previous update was at 03:22 PM ----------

what does it means?...
17,394
Posted By lsantome
Thank you SriniShoo, but I think I didn't explain...
Thank you SriniShoo, but I think I didn't explain it propperly. I need the name of all files where the index was found.

Exprected output:
chr1:1959138-1959138;G/C 2 ...
17,394
Posted By lsantome
Awk: Append new elements to an array
Hi all,

I'm dealing with a bash script to merge the elements of a set of files and counting how many times each element is present. The last field is the file name.

Sample files:
head -5...
2,465
Posted By lsantome
Brilliant! thank you so much!
Brilliant!

thank you so much!
2,465
Posted By lsantome
thank you MadeIn Germany, it works nicely! ...
thank you MadeIn Germany, it works nicely!

But let me ask you the last question:

The table header is not on its original position. Any tip to fix it?

Thank you!
2,465
Posted By lsantome
Hi MadeInGermany, thank you for your quick reply!...
Hi MadeInGermany, thank you for your quick reply!

A1: Yes, every table is contained in a single file. I merge them two by two, based on their filename (pattern) with the following code:

for...
2,465
Posted By lsantome
[Solved] Merging tables: identifiying common and unique elements
Hi all,

I know how to merge two tables and to remove the duplicated lines based on a field (Column 2) . My next challenge is to be able to identify in a new column those common elements between...
1,143
Posted By lsantome
Thank you so much guys! Problem solved! ...
Thank you so much guys!

Problem solved!
:b::b::b::b::b:
1,143
Posted By lsantome
Multiple replacement
Hi friends

Hope, you all are doing well

I need your help for doing multiple strings replacement. I have a file with more than 1000 lines and I want to replace several elements in the same run....
Showing results 1 to 18 of 18

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