Search Results

Search: Posts Made By: genebuster
Forum: Programming 05-31-2016
1,078
Posted By genebuster
awk script
Hi experts,
I have file which looks like :
chr1 2984741 2985289 chr1 2984289 2985289 -1000
chr1 54519111 54519244 chr1 54519111 54520111 -133...
1,101
Posted By genebuster
Thanks for the concern...attached is the file...
Thanks for the concern...attached is the file containing the columns as I have them with my tool....my problem is not with the second column ...the issue is the third column. This should reflect the...
1,101
Posted By genebuster
awk script
Hi,
I need help in awk to decipher the exact overlapping numbers within the columns in fileA that occur in fileB. I am aware of many tools in awk, but am struggling to find a solution.
Can...
1,101
Posted By genebuster
I think it does not work.....though I had thought...
I think it does not work.....though I had thought so...how can I attach the files I want to post ?
1,101
Posted By genebuster
awk ' NR == FNR {val[$1]=$2; next} $1 in...
awk ' NR == FNR {val[$1]=$2; next} $1 in val {print $1, val[$1], $2} ' file1 file2
By overlap I mean the designate range.
Thank you so much for responding .
1,101
Posted By genebuster
awk script
Hi,

I have 2 files containing columns like these:

column in file A
R 123 145

column in file B
R 135 157

and I want an output which tells me the exact overlap between the numbers...
876
Posted By genebuster
Thanks....no I did not try ....new to awk so...
Thanks....no I did not try ....new to awk so trying to learn the one liners.
Thanks for your response.
876
Posted By genebuster
awk script
Hi,
I want to write a script in awk which counts the difference between two numbers in a column. For example, I have a file which has entries like these :
A 12345 678910
and I want to find...
1,528
Posted By genebuster
---------- Post updated at 10:43 AM ----------...
---------- Post updated at 10:43 AM ---------- Previous update was at 10:42 AM ----------

Hi,

I am trying to find out overlapping regions in two given files, so I wrote a awk script
awk...
1,528
Posted By genebuster
Hi, The input files are attached
Hi,
The input files are attached
1,528
Posted By genebuster
awk script
Hi,

I wrote an awk script to compare intervals between two files
awk 'FNR==NR {a[$1]; next} $1 in a'

My input files I am comparing for overlaps are arranged like this:
chr1 23110 23140...
7,471
Posted By genebuster
Surprisingly the Tabs have disappeared in the...
Surprisingly the Tabs have disappeared in the output file...how to put them back ?
7,471
Posted By genebuster
My File has different entries in every line. ...
My File has different entries in every line.
chr1 6845635 6880240
chr1 7151431 7309550
chr1 57756838 58115263
chr1 85824530 85961848
chr1 172100428 ...
7,471
Posted By genebuster
awk script
Hi,

I have a file which has regions in numbers like:
chr1 6845635 6880240
and I want an awk script which extracts only 1000 numbers from the end of the 2nd column. The output should then...
Showing results 1 to 14 of 14

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