LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-22-2010, 10:45 AM   #16
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,452

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941

Quote:
Originally Posted by grail View Post
so if the first or second strand had a bodgy character (X?-N) as the last character, hence making the total for that column not greater than one, we would have removed both of the final Cs in the first strand.
Yes, exactly.

Quote:
So I guess my questions was related to the fact that we were not getting rid of one of the Cs due to it being a double but because the vertical math did not support it.
That's it. The problem was to check the (not-) boggy characters column-wise, as you were looking at columns one at a time:
Code:
 A   T   G   C   -   A   T   G   C   C
 A   T   G   C   -   A   T   G   -   C
 A   T   G   C   -   A   T   G   -   -
 A   T   G   C   X   A   T   G   X   X
 A   T   G   C   ?   A   T   G   ?   ?
 A   T   G   C   N   A   T   G   N   N
--- --- --- --- --- --- --- --- --- ---
 6   6   6   6   0   6   6   6   1   2
Quote:
Thanks
You're welcome!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
print FS (field separator) in awk wakatana Programming 5 11-05-2009 08:17 AM
how to keep Field Separator in AWK when using a sub statement tmcguinness Programming 4 02-09-2009 02:24 PM
shell script/command for converting columns/table onto a single line skuz_ball Programming 9 11-30-2007 03:02 AM
perl input field separator Tinkster Programming 5 10-18-2004 04:08 PM
My field separator changes when using awk Helene Programming 3 05-01-2004 08:10 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration