From Genome Analysis Wiki
Jump to navigationJump to search
11 bytes added
, 00:33, 15 January 2010
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 : INPUT.txt (-hname)<br> From Position : 1 (-f9999)<br> To Position : 3 (-t9999) | | The following parameters are in effect:<br> Haplotype File : INPUT.txt (-hname)<br> From Position : 1 (-f9999)<br> To Position : 3 (-t9999) |
| | | |
− | Haplotype Counts<br>GGT 1<br>GAC 9<br>60 1<br>Haplotypes that match the first one<br>WTCCC66062->WTCCC66062 (3)<br>WTCCC66062->WTCCC66062 (4)<br>WTCCC66063->WTCCC66063 (5)<br>WTCCC66063->WTCCC66063 (6)<br>WTCCC66064->WTCCC66064 (7)<br>WTCCC66064->WTCCC66064 (8)<br>WTCCC66065->WTCCC66065 (9)<br>WTCCC66065->WTCCC66065 (10)<br><br> | + | Haplotype Counts<br>GGT 1<br>GAC 9<br>Haplotypes that match the first one<br>WTCCC66062->WTCCC66062 (3)<br>WTCCC66062->WTCCC66062 (4)<br>WTCCC66063->WTCCC66063 (5)<br>WTCCC66063->WTCCC66063 (6)<br>WTCCC66064->WTCCC66064 (7)<br>WTCCC66064->WTCCC66064 (8)<br>WTCCC66065->WTCCC66065 (9)<br>WTCCC66065->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> |