Changes

From Genome Analysis Wiki
Jump to navigationJump to search
2 bytes removed ,  17:38, 15 January 2012
Line 83: Line 83:  
*First, find the first and last SNP in the region you are interested in. Say "rsFIRST" and "rsLAST", defined according to position.  
 
*First, find the first and last SNP in the region you are interested in. Say "rsFIRST" and "rsLAST", defined according to position.  
 
*Then, under csh:
 
*Then, under csh:
  @ first = `grep -nw rsFIRST orig.snps | cut -f1 -d ':'`
+
@ first = `grep -nw rsFIRST orig.snps | cut -f1 -d ':'`
 
  @ last = `grep -nw rsLAST orig.snps | cut -f1 -d ':'`
 
  @ last = `grep -nw rsLAST orig.snps | cut -f1 -d ':'`
 
under bash:
 
under bash:
  first=`grep -nw rsFIRST orig.snps | cut -f1 -d ':'`
+
first=`grep -nw rsFIRST orig.snps | cut -f1 -d ':'`
 
  last=`grep -nw rsLAST orig.snps | cut -f1 -d ':'`
 
  last=`grep -nw rsLAST orig.snps | cut -f1 -d ':'`
  
212

edits

Navigation menu