Changes

From Genome Analysis Wiki
Jump to navigationJump to search
no edit summary
Line 38: Line 38:  
       tokens.ReplaceTokens(buffer);
 
       tokens.ReplaceTokens(buffer);
   −
       if (buffer.Length() > 0 && tokens.Length() != 3)
+
       if (buffer.Length() > 0) continue;
 +
      if (tokens.Length() != 3)
 
           {
 
           {
 
           printf("Expect 3 words per line but the line beginning with \"%.10s\" looks different ...", (const char *) buffer);
 
           printf("Expect 3 words per line but the line beginning with \"%.10s\" looks different ...", (const char *) buffer);
Line 73: Line 74:  
The following parameters are in effect:<br> Haplotype File&nbsp;: INPUT.txt (-hname)<br> From Position&nbsp;: 1 (-f9999)<br> To Position&nbsp;: 3 (-t9999)  
 
The following parameters are in effect:<br> Haplotype File&nbsp;: INPUT.txt (-hname)<br> From Position&nbsp;: 1 (-f9999)<br> To Position&nbsp;: 3 (-t9999)  
   −
Haplotype Counts<br>GGT 1<br>GAC 9<br>60 1<br>Haplotypes that match the first one<br>WTCCC66062-&gt;WTCCC66062 (3)<br>WTCCC66062-&gt;WTCCC66062 (4)<br>WTCCC66063-&gt;WTCCC66063 (5)<br>WTCCC66063-&gt;WTCCC66063 (6)<br>WTCCC66064-&gt;WTCCC66064 (7)<br>WTCCC66064-&gt;WTCCC66064 (8)<br>WTCCC66065-&gt;WTCCC66065 (9)<br>WTCCC66065-&gt;WTCCC66065 (10)<br><br>  
+
Haplotype Counts<br>GGT 1<br>GAC 9<br>Haplotypes that match the first one<br>WTCCC66062-&gt;WTCCC66062 (3)<br>WTCCC66062-&gt;WTCCC66062 (4)<br>WTCCC66063-&gt;WTCCC66063 (5)<br>WTCCC66063-&gt;WTCCC66063 (6)<br>WTCCC66064-&gt;WTCCC66064 (7)<br>WTCCC66064-&gt;WTCCC66064 (8)<br>WTCCC66065-&gt;WTCCC66065 (9)<br>WTCCC66065-&gt;WTCCC66065 (10)<br><br>  
    
*To read a file, use IFILE class, which is wrapper for read/write file. A particular useful thing is that it handle gzipped file transparently. Important functions are: ifopen(), ifclose().<br>  
 
*To read a file, use IFILE class, which is wrapper for read/write file. A particular useful thing is that it handle gzipped file transparently. Important functions are: ifopen(), ifclose().<br>  
255

edits

Navigation menu