Skip to content

Commit

Permalink
Include explicit reference to ancestry estimation vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
HannahVMeyer committed Feb 3, 2021
1 parent eedab0f commit 416f9fe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 8 additions & 1 deletion vignettes/Genomes1000.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ The following vignette shows the processing steps required to use samples of the
1000 Genomes study [@a1000Genomes2015],[@b1000Genomes2015] as a reference
dataset. Using the 1000 Genomes reference, population structure down to
large-scale continental ancestry can be detected. A step-by-step instruction on
how to conduct this ancestry analysis is described in this [vignette](https://meyer-lab-cshl.github.io/plinkQC/articles/AncestryCheck.html).
how to conduct this ancestry analysis is described in this
[Ancestry estimation vignette](https://meyer-lab-cshl.github.io/plinkQC/articles/AncestryCheck.html).


# Workflow
Expand Down Expand Up @@ -111,4 +112,10 @@ plink2 --pfile $refdir/all_phase3 vzs\
mv $refdir/all_phase3.log $refdir/log
```


After these steps, the 1000 Genomes dataset can be used
for inferring study ancestry as described in the corresponding
[Ancestry estimation vignette](https://meyer-lab-cshl.github.io/plinkQC/articles/AncestryCheck.html).

# References

5 changes: 3 additions & 2 deletions vignettes/HapMap.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ The following vignette shows the processing steps required to use samples of the
HapMap study [@HapMap2005][@HapMap2007][@HapMap2010] as a reference dataset.
Using this reference, population structure down to large-scale continental
ancestry can be detected. A step-by-step instruction on how to conduct this
analysis is described in this [vignette](https://meyer-lab-cshl.github.io/plinkQC/articles/AncestryCheck.html).
analysis is described in this
[Ancestry estimation vignette](https://meyer-lab-cshl.github.io/plinkQC/articles/AncestryCheck.html).


# Workflow
Expand Down Expand Up @@ -143,7 +144,7 @@ awk '{print $4, $3}' $refdir/HapMapIII_CGRCh37 > $refdir/HapMapIII_CGRCh37.pos
## Update the reference data
We can now use PLINK to extract the mappable variants from the old build and
update their position. After these steps, the HapMap III dataset can be used
for inferring study ancestry as described in the corresponding [vignette](https://meyer-lab-cshl.github.io/plinkQC/articles/AncestryCheck.html).
for inferring study ancestry as described in the corresponding [Ancestry estimation vignette](https://meyer-lab-cshl.github.io/plinkQC/articles/AncestryCheck.html).
```{bash update annotation, eval=FALSE}
plink --bfile $refdir/HapMapIII_NCBI36 \
--extract $refdir/HapMapIII_CGRCh37.snps \
Expand Down

0 comments on commit 416f9fe

Please sign in to comment.