Search Results

Search: Posts Made By: fat
2,148
Posted By fat
Sorry, I didnt mention that there are two input...
Sorry, I didnt mention that there are two input files in which I dont know where to fit the second file.


The first file is chr1_GEN2bim. It has this format. Note that everything at first column...
2,148
Posted By fat
Hi RudiC, Thanks for your reply. Sorry I...
Hi RudiC,

Thanks for your reply. Sorry I wasnt very clear.
Yes the "Given" is in a file.I want to parse multiple input files named "chr{n}_GEN2bim" where n comes from the first column of my...
2,148
Posted By fat
Loop over awk or passing parameter
I wrote this script which works well when I manually input 55518622 and 1
but I need this script to be generic and loop over the following table
awk '$4>(55518622-500000) && $4<(55518622+500000)'...
1,860
Posted By fat
Yes, awk 'BEGIN{printf "\t"}{A[$1] = A[$1] ?...
Yes,

awk 'BEGIN{printf "\t"}{A[$1] = A[$1] ? A[$1] OFS $4 : $4}FNR==1{printf FILENAME OFS}END{printf RS; for(i in A)print i, A[i]}' OFS='\t' myfile.txt | sort
1,860
Posted By fat
Sorting unique by column
I am trying to sort, do uniq by 1st column and report this 4 columns tab delimiter table , eg
chr10:112174128 rs2255141 2E-10 Cholesterol, total
chr10:112174128 rs2255141 7E-16 LDL...
Forum: Programming 01-21-2014
2,462
Posted By fat
R script - Print legend outside plot box
Can you please help ? My R script produced the attached graph. The legend is messy and I will want it outside the box (outside plotting area). How do I do this

Part of the script for legend is...
1,012
Posted By fat
Thanks This almost works except that it outputs...
Thanks
This almost works except that it outputs all +/- 500 range of the keys. for example when searching for +/- 500 of the key 11567687 in "1 11567687 snpid20" it should output all...
1,012
Posted By fat
Matching position and output neighbors within 500 distant
Hi,
I have been struggling to match positions output its neigbors. Can you please help ?

I have 2 files.They both have the same format (same number of columns) but first file is a kind of subset...
1,203
Posted By fat
Join multiple files
Hi there,

I am trying to join 24 files (i showed example of 3 files below). They all have 2 columns. The first columns is common to all. The files are tab delimited eg

file 1
rs0001 ...
Showing results 1 to 9 of 9

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