Changes

From Genome Analysis Wiki
Jump to: navigation, search

MaCH FAQ

2 bytes removed, 17:38, 15 January 2012
How do I get reference files for an region of interest?
*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:
@ first = `grep -nw rsFIRST orig.snps | cut -f1 -d ':'`
@ last = `grep -nw rsLAST orig.snps | cut -f1 -d ':'`
under bash:
first=`grep -nw rsFIRST orig.snps | cut -f1 -d ':'`
last=`grep -nw rsLAST orig.snps | cut -f1 -d ':'`
212
edits

Navigation menu