From Genome Analysis Wiki
Jump to navigationJump to search
124 bytes added
, 08:24, 17 November 2011
Line 86: |
Line 86: |
| head -1 orig.hap | wc -w | | head -1 orig.hap | wc -w |
| | | |
− | * Finally: | + | * Finally (say you got 3 from the above wc -w command. If you got other numbers, replace the 3 in bold below with the number you got): |
| | | |
| awk '{print $'''3'''}' orig.hap | cut -c${first}-${last} > region.hap | | awk '{print $'''3'''}' orig.hap | cut -c${first}-${last} > region.hap |