Search Results

Search: Posts Made By: jfern
4,059
Posted By jfern
Extracting specific files from multiple .tgz files
Hey,

I have number of .tgz files and want to extract the file with the ending *results.txt from each one.

I have tried

for file in *.tgz; do tar --wildcards -zxf $file *results.txt; doneas...
1,491
Posted By jfern
Seems to have worked. Thanks!
Seems to have worked.

Thanks!
1,491
Posted By jfern
Combine identical lines and average the one variable field
I have the following file

299899 chrX_299716_300082 196 78.2903 299991 chrX_299982_300000 18.2538 Tajd:0.745591 FayWu:-0.245701 T2:1.45
299899 chrX_299716_300082 196 78.2903 299991...
937
Posted By jfern
Considerable trouble with for loop in combination with awk
I have the text file where each line has the format:

chr10 101418889 101418904 0.816327

Right now the interval between column 2 and 3 is 15. I only want the two consecutive positions...
1,765
Posted By jfern
Nope, I'm a biologist and am trying to change the...
Nope, I'm a biologist and am trying to change the chromosome sites for analysis.
I was about to delete the post but couldn't figure out how -.-

awk ' { $2=$2+10; print }

worked for me.
1,765
Posted By jfern
Replace all variables in a column
Hey,
I have a 4 column file
chr10 102827739 102827754 0.47619
chr10 102899308 102899323 2.76087
chr10 102977200 102977215 0.384615
chr10 102985228 102985243 ...
Showing results 1 to 6 of 6

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