Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 1: Line 1:  
== Introduction ==
 
== Introduction ==
 +
Main Workshop wiki page: [[SeqShop: December 2014]]
 +
 
See the [[Media:LASER-tutorial.pdf|tutorial slides]] for an introduction of the LASER analysis workflow, input/output file formats, and usage of the LASER software.
 
See the [[Media:LASER-tutorial.pdf|tutorial slides]] for an introduction of the LASER analysis workflow, input/output file formats, and usage of the LASER software.
    
The main purpose of this page is to provide step-by-step command lines for using LASER to estimate ancestry of 6 targeted sequenced samples (2 HapMap trios) in a principal component space generated using genome-wide SNP data from the Human Genome Diversity Project (HGDP). The HGDP reference panel contains genotype data across 632,958 autosomal loci for 938 individuals from 53 populations worldwide.
 
The main purpose of this page is to provide step-by-step command lines for using LASER to estimate ancestry of 6 targeted sequenced samples (2 HapMap trios) in a principal component space generated using genome-wide SNP data from the Human Genome Diversity Project (HGDP). The HGDP reference panel contains genotype data across 632,958 autosomal loci for 938 individuals from 53 populations worldwide.
   −
For more details about the options and usage of LASER, please read the [http://www.sph.umich.edu/csg/chaolong/LASER/LASER_Manual.pdf manual].
+
For more details about the options and usage of LASER, please read the [http://csg.sph.umich.edu//chaolong/LASER/LASER_Manual.pdf manual].
    
== LASER workflow ==
 
== LASER workflow ==
Line 15: Line 17:  
== Setup in person at the SeqShop Workshop ==
 
== Setup in person at the SeqShop Workshop ==
 
''This section is specifically for the SeqShop Workshop computers.''
 
''This section is specifically for the SeqShop Workshop computers.''
<div class="mw-collapsible" style="width:600px">
+
<div class="mw-collapsible mw-collapsed" style="width:600px">
 
''If you are not running during the SeqShop Workshop, please skip this section.''
 
''If you are not running during the SeqShop Workshop, please skip this section.''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 54: Line 56:  
== Setup when running on your own outside of the SeqShop Workshop ==
 
== Setup when running on your own outside of the SeqShop Workshop ==
 
''This section is specifically for running on your own outside of the SeqShop Workshop.''
 
''This section is specifically for running on your own outside of the SeqShop Workshop.''
<div class="mw-collapsible mw-collapsed" style="width:600px">
+
<div class="mw-collapsible" style="width:600px">
 
''If you are running during the SeqShop Workshop, please skip this section.''
 
''If you are running during the SeqShop Workshop, please skip this section.''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 69: Line 71:  
<li>Using bash (replace the paths below with the appropriate paths):</li>
 
<li>Using bash (replace the paths below with the appropriate paths):</li>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
:<pre>export REF=$SS/ancestry/ref&#10;export HGDP=$SS/ancestry/HGDP&#10;export BAM=$SS/ancestry/bams</pre>
+
:<pre>export LASER=$OUT/ancestry/LASER-2.01&#10;export REF=$SS/ancestry/ref&#10;export HGDP=$SS/ancestry/HGDP&#10;export BAM=$SS/ancestry/BAM</pre>
 
</div>
 
</div>
 
</div>
 
</div>
Line 75: Line 77:  
<li>Using tcsh (replace the paths below with the appropriate paths):</li>
 
<li>Using tcsh (replace the paths below with the appropriate paths):</li>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
:<pre>setenv REF $SS/ancestry/ref&#10;setenv HGDP $SS/ancestry/HGDP&#10;setenv BAM $SS/ancestry/bams</pre>
+
:<pre>setenv LASER $OUT/ancestry/LASER-2.01&#10;setenv REF $SS/ancestry/ref&#10;setenv HGDP $SS/ancestry/HGDP&#10;setenv BAM $SS/ancestry/BAM</pre>
 
</div>
 
</div>
 
</div>
 
</div>
Line 86: Line 88:  
Create a working directory:
 
Create a working directory:
   −
  mkdir $OUT/ancestry
+
  mkdir -p $OUT/ancestry
 
  cd $OUT/ancestry
 
  cd $OUT/ancestry
    
Download and decompress software package:
 
Download and decompress software package:
   −
  wget http://www.sph.umich.edu/csg/chaolong/LASER/LASER-2.01.tar.gz
+
  wget http://csg.sph.umich.edu//chaolong/LASER/LASER-2.01.tar.gz
 
  tar xzvf LASER-2.01.tar.gz
 
  tar xzvf LASER-2.01.tar.gz
      
== Preparing input files for LASER ==
 
== Preparing input files for LASER ==
Line 107: Line 108:  
This step uses samtools to generate pileup files from bam files.  
 
This step uses samtools to generate pileup files from bam files.  
   −
<div class="mw-collapsible mw-collapsed" style="width:500px">
+
<div class="mw-collapsible" style="width:500px">
 
In person at workshop notes:
 
In person at workshop notes:
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 115: Line 116:  
</div>
 
</div>
   −
<div class="mw-collapsible" style="width:500px">
+
<div class="mw-collapsible mw-collapsed" style="width:500px">
 
Outside of the workshop notes:
 
Outside of the workshop notes:
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 219: Line 220:       −
== Restarting SNP Call on your own Genome ==
+
 
Go to [[SeqShop: Calling Your Own Genome, December 2014]] so we can rerun SNP calling overnight.
+
== Return to Workshop Wiki Page ==
 +
Return to main workshop wiki page: [[SeqShop: December 2014]]
96

edits

Navigation menu