From Genome Analysis Wiki
Jump to navigationJump to search
2 bytes added
, 20:15, 4 August 2011
Line 82: |
Line 82: |
| *Then: | | *Then: |
| | | |
− | @ first = `grep -n rsFIRST orig.snps | cut -f1 -d ':'` | + | @ first = `grep -nw rsFIRST orig.snps | cut -f1 -d ':'` |
− | @ last = `grep -n rsLAST orig.snps | cut -f1 -d ':'` | + | @ last = `grep -nw rsLAST orig.snps | cut -f1 -d ':'` |
| | | |
| *Finally (assuming the third field contains the actual haplotypes, where alleles are separated by whitespace): | | *Finally (assuming the third field contains the actual haplotypes, where alleles are separated by whitespace): |