Search Results

Search: Posts Made By: s052866
21,547
Posted By s052866
Thanks everybody for the interesting comments. It...
Thanks everybody for the interesting comments. It has helped me to try different options and get around the problem.

The values that I use for filtering is not fixed so I had to be cautious to use...
21,547
Posted By s052866
Making a faster alternative to a slow awk command
Hi,

I have a large number of input files with two columns of numbers.

For example:
[X] [Y]
83 1453
99 3255
99 8482
99 7372
83 175

I only wish to retain lines...
1,623
Posted By s052866
Thanks Franklin52 I saw you also posted this...
Thanks Franklin52

I saw you also posted this code which is more simple:
awk 'p{print $0-p}{p=$0}' file
So I am using this instead as I better understand what is happening as I did not really...
1,623
Posted By s052866
Improve script made to calculate value based on present and previous line
Hi all,

I have made at small script to make a simple calculation on a file which is formatted in this way:


I want to create a new file in which the value of particular line minus the previous...
8,353
Posted By s052866
Thanks. It worked. Yeah. :)
Thanks. It worked. Yeah.
:)
8,353
Posted By s052866
Concatenate lines between lines starting with a specific pattern
Hi,

I have a file such as:
---
>contig00001 length=35524 numreads=2944
gACGCCGCGCGCCGCGGCCAGGGCTGGCCCA
CAGGCCGCGCGGCGTCGGCTGGCTGAG
>contig00002 length=4242 numreads=43423...
3,457
Posted By s052866
Hi, I am not sure what OP means?
Hi, I am not sure what OP means?
3,457
Posted By s052866
Heps, it works. And much much faster than 12...
Heps,
it works. And much much faster than 12 hours. I guess I need to pay more attendance to sed and awk...
Thanks
3,457
Posted By s052866
Hi, thanks for the responses. I tried both,...
Hi, thanks for the responses. I tried both, however, I was giving an error message about the "!" ?

interaction[rlmn]:/home/projects/rlmn/sommerdata/run2> awk '!/^[@+]/{print...
3,457
Posted By s052866
Deletion of characters in every second line
Hi,

I have a file with four types of lines:

@HWUSI-EAS656_0022:8:1:175:376#0/1
CTCGACACGCTGGTGGAGATCCTCGGCCTGACCGAGGACGACCGGGCCATCTTCGAGCAGCGC
+...
4,334
Posted By s052866
Ok, this was my first post here and I have...
Ok, this was my first post here and I have actually read the forum rules, so I would not post homework.
Anyway, I got past the problem now with help from other side.
4,334
Posted By s052866
Count number of occurences of a character in a field defined by the character in another field
Hello,

I have a text file with n lines in the following format (9 column fields):

Example:
contig00012 149606 G C 49 68 60 18 c$cccccacccccccccc^c

I...
Showing results 1 to 12 of 12

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