|
23 | 23 |
|
24 | 24 | # Specify the "Base" Name of your Reference Dataset (don't include extension -- .bed/.bim/.fam) (REQUIRED)
|
25 | 25 | # Note: The add-in will search for a BED/BIM/FAM file trio that has this name in the 'PLACE_Target-Ref_Datasets_HERE' directory within ./Odyssey/PopStratModule/
|
26 |
| - RefDataset="1000Genomes_Complete"; |
| 26 | + RefDataset="1000Genomes_GRCh37Mapped"; |
27 | 27 |
|
28 | 28 |
|
29 | 29 | # Specify the Name of your Target Dataset (don't include extension -- .bed/.bim/.fam) (REQUIRED)
|
30 | 30 | # Note: The add-in will search for a BED/BIM/FAM file trio that has this name in the 'PLACE_Target-Ref_Datasets_HERE' directory within ./Odyssey/PopStratModule/
|
31 |
| - TargetDataset="Plates1-48_Raw"; |
| 31 | + TargetDataset="Plates1-48_NoDups"; |
32 | 32 |
|
33 | 33 |
|
34 | 34 | # Specify a Name For the PCA Analysis (must not include any spaces) (REQUIRED)
|
35 | 35 | # The specified PCA analysis folder can be found within ./Odyssey/PCA_Analyses/
|
36 |
| - PCA_Analysis_Name="EyebrowsPCA"; |
| 36 | + PCA_Analysis_Name="PlotlyAddin"; |
37 | 37 |
|
38 | 38 |
|
39 | 39 | # To determine the number of principal components to keep the R analysis script looks at how much each Principal Component contributes to the total amount
|
40 | 40 | # of variance. Currently, principal components that contribute 1% or greater to total variance is kept. In turn the Principal Component's dimmension is
|
41 | 41 | # used in the calculation of the N-dimmension reference centroid, which forms the basis on what individuals are kept/removed due to outlying ancestries (OPTIONAL)
|
42 |
| - PC_VariancePerc="0.01"; |
| 42 | + PC_VariancePerc="0.05"; |
43 | 43 | PC_StandardDev="3";
|
44 | 44 |
|
45 | 45 |
|
46 | 46 | # Maximum Memory Allocation
|
47 | 47 | # Some Plink Commands (especially when handling larger datasets) try and allocate large amounts of memory
|
48 | 48 | # Specify the maximum memory allocation you can dedicate (this will be used to limit Plink's memory allocation and the amount of memory R will be allowed if executing on a HPS
|
49 | 49 | # Specify in terms of GB
|
50 |
| - Max_Memory="24"; |
51 |
| - |
52 |
| -# =========================================================================================================================================================================== |
53 |
| -# ==================================================================== Program Dependencies ================================================================================= |
54 |
| -# =========================================================================================================================================================================== |
55 |
| - |
56 |
| -# Specify Path to Plink Exec: (REQUIRED) |
57 |
| - PlinkExec="/gpfs/home/r/y/ryeller/Carbonate/Programs/Plink_1.09/plink"; |
58 |
| - |
59 |
| -# Set R Bin Directory: (REQUIRED for PCA Analysis/Visualization) -- see R installation instructions below for some tips to getting R and its package dependencies installed |
60 |
| - # Put the path directory to the "bin" folder that contains your R.exe file |
61 |
| - Rscript="/gpfs/home/r/y/ryeller/Carbonate/Programs/R/R-3.5.1/bin/Rscript"; |
| 50 | + Max_Memory="85"; |
62 | 51 |
|
63 | 52 |
|
64 | 53 | # ==================================================
|
|
89 | 78 |
|
90 | 79 | #----------------------------
|
91 | 80 |
|
| 81 | +# =========================================================================================================================================================================== |
| 82 | +# ==================================================================== Program Dependencies ================================================================================= |
| 83 | +# =========================================================================================================================================================================== |
92 | 84 |
|
| 85 | +# Specify Path to Plink Exec: (REQUIRED) |
| 86 | + # Manual Setup |
| 87 | + #PlinkExec="/gpfs/home/r/y/ryeller/Carbonate/Programs/Plink_1.09/plink"; |
| 88 | + # Singularity Setup |
| 89 | + PlinkExec="singularity exec ${WorkingDir}Configuration/Singularity/OdysseyContainer.sif plink "; |
93 | 90 |
|
94 | 91 |
|
95 |
| -# ==================================================== |
96 |
| -# R Installation Additional Help |
97 |
| -# ==================================================== |
98 |
| - # You will need to download and install the programming language R (plus some of its package dependencies) if you intend to use the visualization features of Odyssey |
99 |
| - # To download a local installation of R in cases where you don't have admin privileges you should be able to execute the following command on terminal (remember to remove the #): |
100 |
| - # NOTE: Change the --prefix file path to the directory you want R installed. This will cause R to be installed to a local directory (that you ideally have admin privaleges over) |
101 |
| - # wget http://cran.rstudio.com/src/base/R-3/R-3.5.1.tar.gz; tar xvf R-3.5.1.tar.gz; cd R-3.5.1; ./configure --prefix=/gpfs/home/r/y/ryeller/Carbonate/Programs/R; make && make install |
102 |
| - |
103 |
| - # You will also need to install the R package dependencies: tidyverse, qqman, manhattanly, data.table |
104 |
| - # You can do that by calling the R exec in terminal (R should then load) and then execute the following commented out lines |
105 |
| - |
106 |
| - #if(!require(tidyverse)) {install.packages('tidyverse', dependencies=T, repos='https://ftp.ussg.iu.edu/CRAN/', lib ='/gpfs/home/r/y/ryeller/Carbonate/Programs/R/R-3.5.1/library')} |
107 |
| - #if(!require(data.table)) {install.packages('data.table', dependencies=T, repos='https://ftp.ussg.iu.edu/CRAN/', lib ='/gpfs/home/r/y/ryeller/Carbonate/Programs/R/R-3.5.1/library')} |
108 |
| - #if(!require(ggplot2)) {install.packages('ggplot2', dependencies=T, repos='https://ftp.ussg.iu.edu/CRAN/', lib ='/gpfs/home/r/y/ryeller/Carbonate/Programs/R/R-3.5.1/library')} |
109 |
| - #library(tidyverse, qqman, manhattanly, data.table) |
| 92 | +# Specify Path to Rscript directory: (REQUIRED) |
| 93 | + # Manual Setup |
| 94 | + #Rscript="/gpfs/home/r/y/ryeller/Carbonate/Programs/R/R-3.5.1/bin/Rscript"; |
| 95 | + # Singularity Setup |
| 96 | + Rscript="singularity exec ${WorkingDir}Configuration/Singularity/OdysseyContainer.sif Rscript"; |
110 | 97 |
|
111 | 98 |
|
112 | 99 |
|
0 commit comments