Changes

From Genome Analysis Wiki
Jump to navigationJump to search
2,167 bytes added ,  13:29, 28 October 2020
m
Make deprecation warning more visible.
Line 3: Line 3:  
'''LocusZoom''' is designed to facilitate viewing of local association results together with useful information about a locus, such as the location and orientation of the genes it includes, linkage disequilibrium coefficients and local estimates of recombination rates. It was developed by popular demand, as a result of many questions we have had about "How did you make the figures in your talk?" or "How did you make the figures for your GWAS paper?" (And for better or for worse, we have quite a few GWAS papers!!).
 
'''LocusZoom''' is designed to facilitate viewing of local association results together with useful information about a locus, such as the location and orientation of the genes it includes, linkage disequilibrium coefficients and local estimates of recombination rates. It was developed by popular demand, as a result of many questions we have had about "How did you make the figures in your talk?" or "How did you make the figures for your GWAS paper?" (And for better or for worse, we have quite a few GWAS papers!!).
   −
LocusZoom can be used in three ways:
+
LocusZoom can be used in four ways:
   −
; Plot Summaries of Your Genomewide Scan Interactively
+
; 1. Plot Summaries of Your Genomewide Scan Interactively
 
: You can upload summary results of your own genomewide scan or genomewide meta-analysis and request plots of regions of interest using a web-based form.
 
: You can upload summary results of your own genomewide scan or genomewide meta-analysis and request plots of regions of interest using a web-based form.
   −
; Generate Many Plots in Batch Mode
+
; 2. Generate Many Plots in Batch Mode
 
: You can upload summary results for your genomewide scan or genomewide meta-analysis and request several plots in one go by uploading a batch file. You will receive results via e-mail. A snail-mail option is not available.
 
: You can upload summary results for your genomewide scan or genomewide meta-analysis and request several plots in one go by uploading a batch file. You will receive results via e-mail. A snail-mail option is not available.
   −
; Plot Summaries of Publicly Available Datasets
+
; 3. Plot Summaries of Publicly Available Datasets
 
: Currently, this includes the results of [http://www.sph.umich.edu/csg/abecasis/public/lipids2008/ our genome-wide scan] for variants associated with HDL-cholesterol, LDL-cholesterol and triglyceride levels in ~20,000 individuals.
 
: Currently, this includes the results of [http://www.sph.umich.edu/csg/abecasis/public/lipids2008/ our genome-wide scan] for variants associated with HDL-cholesterol, LDL-cholesterol and triglyceride levels in ~20,000 individuals.
   −
We are also developing a distributable code package that you can install on your own system to generate plots locally. This is not yet available, but is expected in April 2010.
+
; 4. Download LocusZoom and run on your local unix machine
 +
: [http://genome.sph.umich.edu/wiki/LocusZoom_Standalone Download LocusZoom] and [http://genome.sph.umich.edu/wiki/LocusZoom_Standalone#Sources_of_SQLite_database_tables associated databases]
 +
 
    
== Upload your own meta-analysis file and generate single plots using a web-based form  ==
 
== Upload your own meta-analysis file and generate single plots using a web-based form  ==
Line 20: Line 22:  
=== Uploading Your Association Study Results ===
 
=== Uploading Your Association Study Results ===
   −
Association results can be uploaded to our web server using the [http://csg.sph.umich.edu/locuszoom/ plot your data webpage]. Result files are limited to 20Mb in size, which allows for a [[gzip|gzipped]] text table including key columns (marker name, p-value and sample size) for up to ~3 million SNPs. In our tests, a typical GWAS results file is ~17 Mb in size after imputation of HapMap SNPs. Once a file is uploaded, LocusZoom will remember the file for the duration of your web session allowing you to generate multiple plots. If you have a slow connection or would like to save time, you can upload results for a region or chromosome of interest only. Your results are entirely confidential and won't be viewed by us or anyone else (except those with whom you share them!)
     −
To specify the region to be plotted, you will have to specify the name of a key marker in the region (typically, as an rs-number), name a gene of interest or provide appropriate genome coordinates. When displaying linkage disequilibrium, plotting will be very fast for small windows when HapMap CEU linkage disequilibrium is requested (because pairwise coefficients have been precomputed) and will be a bit slower for larger windows (because linkage disequilibrium coefficients must be computed on the fly).
+
<span style="color:red">'''The instructions below refer to a "legacy" service that is not actively maintained. For modern datasets, consider using our new [https://my.locuszoom.org my.locuszoom.org] service for the latest features, including manhattan plots and support for build GRCh38.'''</span>
 +
 
 +
 
 +
'''Please note: You CAN plot SNPs without rsid using chr6:20122013 format.'''
 +
 
 +
Association results can be uploaded to our web server using the [http://locuszoom.org/ plot your data webpage]. Result files are limited to 20Mb in size, which allows for a [[gzip|gzipped]] text table including key columns (marker name, p-value and sample size) for up to ~3 million SNPs. In our tests, a typical GWAS results file is ~17 Mb in size after imputation of HapMap SNPs. Once a file is uploaded, LocusZoom will remember the file for the duration of your web session allowing you to generate multiple plots. If you have a slow connection or would like to save time, you can upload results for a region or chromosome of interest only. Your results are entirely confidential and won't be viewed by us or anyone else (except those with whom you share them!)
 +
 
 +
To specify the region to be plotted, you will have to specify the name of a key marker in the region (typically, as an rs-number, but can be in chr:pos format), name a gene of interest or provide appropriate genome coordinates. When displaying linkage disequilibrium, plotting will be very fast for small windows when HapMap CEU linkage disequilibrium is requested (because pairwise coefficients have been precomputed) and will be a bit slower for larger windows (because linkage disequilibrium coefficients must be computed on the fly).
    
If you include a sample size column in the result file, it will be used to control the size of each plotted marker.
 
If you include a sample size column in the result file, it will be used to control the size of each plotted marker.
 +
 +
=== Custom Annotation ===
 +
 +
You may choose to have SNPs displayed using different plotting symbols to distinguish them from each other.  To implement this, in the section "Custom Annotation" in the box "Column Name", you need to provide the name of a column in your meta-analysis file.  This column will list a category for each SNP of your own choosing (i.e. "nonsynonymous", "splice","intronic",etc.) or ("Genotyped","Imputed"), however, the category names may not include any spaces.  To select the order of the categories to display in the legend and to match the order of pre-selected R plotting symbols (set as pch = 21, 22, 23, 24, 25, 4, 7, 8, 10, 11, 12, 13, 14, 3), you may provide the category names in the specified order in "Category Order" section of "Custom Annotation".  Each entry (which may not contain spaces) does not need quotes but each entry should be separated by commas.
 +
 +
Alternatively, we have provided functional annotation of all 1000 Genomes (Aug 2009) and HapMap r22 SNPs according to the following categories; Framestop (24, triangle), Splice (24, triangle), NonSynonymous (25, inverted triangle), Synonymous (22, square), UTR (22, square), TFBScons (8, star), MCS44 Placental (7, square with diagonal lines) and None-of-the-above (21, filled circle). This can be implemented using the section "Show Annotation" and clicking the box beside each annotation category that you would like distinguished.  SNPs that are not in any selected category will still be displayed as having no annotation.
    
=== Plotting of Pairwise Linkage Disequilibrium ===
 
=== Plotting of Pairwise Linkage Disequilibrium ===
   −
In the main plot window, data points are colored according to their level of linkage disequilibrium (LD) of the each SNP with the index SNP. If users specify the region to display using an index SNP and flanking region, LD of all data points will be relative to the user-specified index SNP. If users specify the region to display using genome coordinates or a gene name, LocusZoom will automatically select the most significant SNP in the region as the index SNP. For all other SNPs in the plot, the color of the data point will reflect the pairwise LD with this index SNP. The default LD measure is r<sup>2</sup> calculated from the HapMap CEU population (release 22), but users have the option to replace this with D’ and of selecting the HapMap YRI, Hapmap CHB+JPT or 1000 Genomes CEU reference panels. Because we have pre-computed LD for all SNPs in HapMap CEU, plots will often generate more quickly if using the default LD information. SNPs with missing LD information are shown in grey.
+
In the main plot window, data points are colored according to their level of linkage disequilibrium (LD) of the each SNP with the index SNP. If users specify the region to display using an index SNP and flanking region, LD of all data points will be relative to the user-specified index SNP. If users specify the region to display using genome coordinates or a gene name, LocusZoom will automatically select the most significant SNP in the region as the index SNP. For all other SNPs in the plot, the color of the data point will reflect the pairwise LD with this index SNP. The default LD measure is r<sup>2</sup> calculated from the HapMap CEU population (release 22), but users have the option to replace this with D’ and of selecting the HapMap YRI, Hapmap CHB+JPT or 1000 Genomes CEU reference panels. To  display LD from 1000G CEU, please substitute rsid's for 1000G naming convention (chrxx:xxxx) whenever possible.  Because we have pre-computed LD for all SNPs in HapMap CEU, plots will often generate more quickly if using the default LD information. SNPs with missing LD information are shown in grey.
    
=== Customizing the Display of Your Results ===
 
=== Customizing the Display of Your Results ===
Line 101: Line 115:  
== Generate single plots using our publicly-available lipids GWAS data  ==
 
== Generate single plots using our publicly-available lipids GWAS data  ==
   −
In addition to plotting your own results, you can plot the results of some publicly available GWAS. Currently, the only publicly available set of results that is include is our GWAS for loci determining blood lipid levels. Just like when you are plotting your own data, you can specify 1) an index SNP and a flanking region, 2) the chromosome together with start and stop positions (in basepairs), or 3) gene name and a flanking region.  
+
In addition to plotting your own results, you can plot the results of some publicly available GWAS. Currently, the only publicly available set of results is our GWAS for loci determining blood lipid levels (Kathiresan et al, Nature Genetics 2009). Just like when you are plotting your own data, you can specify 1) an index SNP and a flanking region, 2) the chromosome together with start and stop positions (in basepairs), or 3) gene name and a flanking region.
    
== Commonly Used LocusZoom Options ==
 
== Commonly Used LocusZoom Options ==
      −
{| border="1" width="80%" align="center"
+
{| border="1" width="100%" align="center"
 
|- bgcolor="lightgray"
 
|- bgcolor="lightgray"
 
! Web Form  
 
! Web Form  
Line 142: Line 156:  
| Reference Population for LD  
 
| Reference Population for LD  
 
| n/a  
 
| n/a  
| This option allows the user to specify which reference panel is used to obtain LD estimates. The default is CEU from HapMap Phase II but users may select YRI or JPT+CHB from HapMap Phase II, or CEU from 1000 Genomes (August 2009 release).
+
| This option allows the user to specify which reference panel is used to obtain LD estimates. The default is CEU from HapMap Phase II but users may select YRI or JPT+CHB from HapMap Phase II, or CEU from 1000 Genomes (August 2009 or June 2010 release).
 
|-
 
|-
 
| Highlight Region of Interest  
 
| Highlight Region of Interest  
Line 154: Line 168:  
| Show Annotation  
 
| Show Annotation  
 
| showAnnot=T showRefsnpAnnot=T annotPch=”21,24,24,25,22,22,8,7”  
 
| showAnnot=T showRefsnpAnnot=T annotPch=”21,24,24,25,22,22,8,7”  
| SNP annotation is available for all 1000G SNPs (Aug 2009 release) and can be displayed on the plot using this option. On the website, various annotation options can be turned on or off.<br>Certain annotation fields can be turned on or off using the annotPch command. To show several categories of SNPs as the same symbol, simply give the same R symbol code for those categories (e.g. annotPch=”21,24,24,25,22,22,8,7”). The category listings, together with their default symbol setting are;<br>Framestop (24, triangle)<br>Splice (24, triangle)<br>NonSynonymous (25, inverted triangle)<br>Synonymous (22, square)<br>UTR (22, square)<br>TFBScons (8, star)<br>MCS44 Placental (7, square with diagonal lines)<br>None-of-the-above (21, filled circle). <br>For more information about the annotation categories used, please see http://research.nhgri.nih.gov/tools/unisnp/?rm=ohelp
+
| SNP annotation is available for all 1000G SNPs (Aug 2009 release) and can be enabled with the showAnnot=T option. The annotPch command allows you to customize the R plotting symbol used for each kind of SNP; it is okay to use the same symbol for more than one category. The annotation categories, together with their default symbol setting are: Framestop (24, triangle), Splice (24, triangle), NonSynonymous (25, inverted triangle), Synonymous (22, square), UTR (22, square), TFBScons (8, star), MCS44 Placental (7, square with diagonal lines) and None-of-the-above (21, filled circle). For more information about these annotation categories used, please see http://research.nhgri.nih.gov/tools/unisnp/?rm=ohelp
 
|-
 
|-
 
| Recombination Rate Overlay  
 
| Recombination Rate Overlay  
Line 161: Line 175:  
|}
 
|}
    +
For a full list of options that can be used in Batch Mode using a hitspec file, please see [http://genome.sph.umich.edu/wiki/LocusZoom_Standalone#Plotting_options this list]
    
[[Category:Software]]
 
[[Category:Software]]
32

edits

Navigation menu