10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Unix Gurus,
I have a file with data like:
>header_1
TCCCCGA
>header_2
CCAATTGGGTA
The data to work with starts from the next line after '>header_xx'.
(1)
I want to search the three letter patterns 'CHH' or 'DDG' and replace C and G by exclamation ! so that CHH becomes !HH and DDG... (3 Replies)
Discussion started by: Fahmida
3 Replies
2. Shell Programming and Scripting
Greetings.
I have a vector of numbers such as the following:
1
75
79
90
91
92
109
120
167
198
203
204
206
224
230
236
240 (4 Replies)
Discussion started by: Twinklefingers
4 Replies
3. IP Networking
I was analyzing a TCP snoop. And found following scenario
From Server to Client ---> SEQ 2993 ACK 1744 WIN 8192 LEN 13
From Server to Client ---> SEQ 3006 ACK 1744 WIN 8192 LEN 13
From Client to server --> SEQ 1744 ACK 3019 WIN 3304
I just want to know Why Packet 1 and 2... (3 Replies)
Discussion started by: mr_deb
3 Replies
4. Shell Programming and Scripting
I have a sting of "0"s and "1"s that I need to analyze. I need to look at each "1" and determine if it is in a neighborhood that is enriched for "1"s which means it is one of at least three "1"s in a 4 character window. My desired output is a count of "1"s in an enriched area.
For Example
Input... (1 Reply)
Discussion started by: monstrousturtle
1 Replies
5. UNIX for Dummies Questions & Answers
I'm doing a little work that involves computing the average completion time of the last 5 of many file decompressions. It's not too tough, but I'm wondering if maybe there's a better way to write it. This is a bash script; here's the current idea:
ctime5=$ctime4
ctime4=$ctime3
ctime3=$ctime2... (2 Replies)
Discussion started by: treesloth
2 Replies
6. Shell Programming and Scripting
I am not sure if this is entirely possible, but I want to compare data in a particular column in several .txt files and have a new file generated. I am a biologist with limited unix knowledge. There are currently no programs written for this type of analysis.
First I would like to define the... (1 Reply)
Discussion started by: kellywilliams
1 Replies
7. UNIX for Dummies Questions & Answers
Very simple problem I am not able to solve. I have been trying to modify the following code:
awk '{t=$1; c = x}{for (i = 1; i <= length; i += wn)print t FS"" substr($2, i, mx) > ("block" ++c)}' mx=100 wn=100 infile.txt
What I am tryng to acccomplish, I have a bunch of files where the first... (3 Replies)
Discussion started by: Xterra
3 Replies
8. Programming
Hello. I can't get it work :(
My application receives data from em-marin reader only being active. Switching to another app makes the port become silent.
MarinReader works in another thread.
Port reading is going while the app is inactive (tested).
Env: Ubuntu 9.04, Gnome, Qt (i've tryed pure... (2 Replies)
Discussion started by: Dp0H
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
How could i grab a set of data (eg:file execution start & stop time stamp f) from unix? (1 Reply)
Discussion started by: siriv
1 Replies
10. Programming
Hello All
Hope someone can help me with an idea or two on how to approach the following situation;
I currently have a process that generates sequenced files. The sequencing is very important and skipping sequences are not allowed. The applicaton has a single thread that consume data produced... (9 Replies)
Discussion started by: bcpkvh
9 Replies