Last updated: 2020-12-23
Checks: 7 0
Knit directory: TARI_2020GS/
This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.
Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.
The command set.seed(20201215)
was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.
Great job! Recording the operating system, R version, and package versions is critical for reproducibility.
Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.
Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version fae176a. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish
or wflow_git_commit
). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:
Ignored files:
Ignored: .DS_Store
Ignored: .Rhistory
Ignored: .Rproj.user/
Ignored: data/.DS_Store
Untracked files:
Untracked: code/convertDart2vcf.R
Untracked: code/gsFunctions.R
Untracked: code/imputationFunctions.R
Untracked: data/DatabaseDownload_2020Dec18/
Untracked: data/GBSdataMasterList_31818.csv
Untracked: data/IITA_GBStoPhenoMaster_33018.csv
Untracked: data/NRCRI_GBStoPhenoMaster_40318.csv
Untracked: data/Report-DCas20-5629/
Untracked: data/Report-DCas20-5629chr10_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr11_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr12_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr13_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr14_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr15_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr16_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr17_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr18_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr1_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr2_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr3_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr4_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr5_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr6_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr7_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr8_DCas20_5629.vcf.gz
Untracked: data/Report-DCas20-5629chr9_DCas20_5629.vcf.gz
Untracked: data/chr1_RefPanelAndGSprogeny_ReadyForGP_72719.fam
Untracked: output/BeagleLogs/
Untracked: output/DosageMatrix_DCas20_5629_EA_REFimputedAndFiltered.rds
Untracked: output/DosageMatrix_ImputationReferencePanel_StageVI_91119.rds
Untracked: output/DosageMatrix_TARI_2020Dec21.rds
Untracked: output/GEBV_TARI_ModelA_2020Dec21.csv
Untracked: output/GETGV_TARI_ModelADE_2020Dec21.csv
Untracked: output/Kinship_AD_TARI_2020Dec21.rds
Untracked: output/Kinship_A_TARI_2020Dec21.rds
Untracked: output/Kinship_D_TARI_2020Dec21.rds
Untracked: output/TARI_CleanedTrialData_2020Dec18.rds
Untracked: output/TARI_ExptDesignsDetected_2020Dec18.rds
Untracked: output/TARI_trials_NOT_identifiable.csv
Untracked: output/chr10_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr10_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr10_DCas20_5629_EA_REFimputed.log
Untracked: output/chr10_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr10_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr10_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr10_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr11_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr11_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr11_DCas20_5629_EA_REFimputed.log
Untracked: output/chr11_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr11_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr11_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr11_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr12_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr12_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr12_DCas20_5629_EA_REFimputed.log
Untracked: output/chr12_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr12_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr12_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr12_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr13_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr13_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr13_DCas20_5629_EA_REFimputed.log
Untracked: output/chr13_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr13_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr13_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr13_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr14_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr14_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr14_DCas20_5629_EA_REFimputed.log
Untracked: output/chr14_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr14_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr14_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr14_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr15_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr15_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr15_DCas20_5629_EA_REFimputed.log
Untracked: output/chr15_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr15_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr15_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr15_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr16_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr16_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr16_DCas20_5629_EA_REFimputed.log
Untracked: output/chr16_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr16_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr16_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr16_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr17_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr17_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr17_DCas20_5629_EA_REFimputed.log
Untracked: output/chr17_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr17_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr17_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr17_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr18_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr18_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr18_DCas20_5629_EA_REFimputed.log
Untracked: output/chr18_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr18_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr18_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr18_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr1_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr1_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr1_DCas20_5629_EA_REFimputed.log
Untracked: output/chr1_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr1_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr1_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr1_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr2_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr2_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr2_DCas20_5629_EA_REFimputed.log
Untracked: output/chr2_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr2_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr2_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr2_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr3_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr3_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr3_DCas20_5629_EA_REFimputed.log
Untracked: output/chr3_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr3_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr3_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr3_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr4_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr4_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr4_DCas20_5629_EA_REFimputed.log
Untracked: output/chr4_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr4_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr4_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr4_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr5_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr5_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr5_DCas20_5629_EA_REFimputed.log
Untracked: output/chr5_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr5_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr5_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr5_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr6_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr6_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr6_DCas20_5629_EA_REFimputed.log
Untracked: output/chr6_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr6_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr6_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr6_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr7_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr7_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr7_DCas20_5629_EA_REFimputed.log
Untracked: output/chr7_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr7_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr7_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr7_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr8_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr8_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr8_DCas20_5629_EA_REFimputed.log
Untracked: output/chr8_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr8_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr8_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr8_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/chr9_DCas20_5629_EA_REFimputed.INFO
Untracked: output/chr9_DCas20_5629_EA_REFimputed.hwe
Untracked: output/chr9_DCas20_5629_EA_REFimputed.log
Untracked: output/chr9_DCas20_5629_EA_REFimputed.sitesPassing
Untracked: output/chr9_DCas20_5629_EA_REFimputed.vcf.gz
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.alleleToCount
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.bed
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.bim
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.fam
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.log
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.nosex
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.raw
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.sitesWithAlleles
Untracked: output/chr9_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.alleleToCount
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.bed
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.bim
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.fam
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.log
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.nosex
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.raw
Untracked: output/chr9_ImputationReferencePanel_StageVI_91119.sitesWithAlleles
Untracked: output/cvresults_ADE_2020Dec21.rds
Untracked: output/cvresults_A_2020Dec21.rds
Untracked: output/genomicPredictions_ModelADE_twostage_TARI_2020Dec21.rds
Untracked: output/genomicPredictions_ModelA_twostage_TARI_2020Dec21.rds
Untracked: output/germplasmName_to_DNAname_matches_TARI_2020Dec22.csv
Untracked: output/maxNOHAV_byStudy.csv
Untracked: output/rownames_DosageMatrix_DCas20_5629_EA_REFimputedAndFiltered.csv
Untracked: output/rownames_DosageMatrix_ImputationReferencePanel_StageVI_91119.csv
Untracked: output/tari_blupsForModelTraining_twostage_asreml_2020Dec20.rds
Untracked: workflowr_log.R
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
These are the previous versions of the repository in which changes were made to the R Markdown (analysis/ImputeDCas20_5629.Rmd
) and HTML (docs/ImputeDCas20_5629.html
) files. If you’ve configured a remote Git repository (see ?wflow_git_remote
), click on the hyperlinks in the table below to view the files as they were in that past version.
File | Version | Author | Date | Message |
---|---|---|---|---|
Rmd | fae176a | wolfemd | 2020-12-23 | Publish the first set of analyses and files for TARI 2020 GS. |
DArTseqLD (DCas20-5629).
Copy the imputation reference panel from 2019 to the data/
folder.
mkdir /workdir/mw489/
cp -r /home/jj332_cas/marnin/TARI_2020GS /workdir/mw489/
cp -r /home/jj332_cas/CassavaGenotypeData/CassavaGeneticMap /workdir/mw489/TARI_2020GS/data/
cp /home/jj332_cas/CassavaGenotypeData/nextgenImputation2019/ImputationEastAfrica_StageII_90919/chr*_ImputationReferencePanel_StageVI_91119.vcf.gz /workdir/mw489/TARI_2020GS/data/
Impute with Beagle V5.0.
Use the “imputation reference panel” dataset from 2019, e.g. chr1_ImputationReferencePanel_StageVI_91119.vcf.gz
as reference.
Used 1 large memory Cornell CBSU machine (e.g. cbsulm16; 112 cores, 512 GB RAM), running 1 chromosome at a time.
R functions are stored in the code/
sub-directory. Functions sourced from e.g. imputationFunctions.R are wrappers around e.g. Beagle, and other command line programs.
cd /workdir/mw489/TARI_2020GS/
<-here::here("data/Report-DCas20-5629") # location of the targetVCF
targetVCFpath<-here::here("data/")
refVCFpath<-here::here("data/CassavaGeneticMap/")
mapPath<-here::here("output/")
outPath<-"DCas20_5629" outSuffix
source(here::here("code","imputationFunctions.R"))
# cbsurobbins using 64 cores
::map(1:18,~runBeagle5(targetVCF=paste0(targetVCFpath,"chr",.,"_DCas20_5629.vcf.gz"),
purrrrefVCF=paste0(refVCFpath,"chr",.,"_ImputationReferencePanel_StageVI_91119.vcf.gz"),
mapFile=paste0(mapPath,"chr",.,"_cassava_cM_pred.v6_91019.map"),
outName=paste0(outPath,"chr",.,"_DCas20_5629_EA_REFimputed"),
nthreads=64))
Clean up Beagle log files after run. Move to sub-directory output/BeagleLogs/
.
cd /workdir/mw489/TARI_2020GS/output/;
mkdir BeagleLogs;
cp *_DCas20_5629_EA_REFimputed.log BeagleLogs/
cp -r BeagleLogs /home/jj332_cas/marnin/TARI_2020GS/output/
cp *_DCas20_5629_EA_REFimputed* /home/jj332_cas/marnin/TARI_2020GS/output/
For now, the function will just do a fixed filter: AR2>0.75 (DR2>0.75 as of Beagle5.0), P_HWE>1e-20, MAF>0.005 [0.5%].
It can easily be modified in the future to include parameters to vary the filter specifications.
Input parameters
#' @inPath path to input VCF-to-be-filtered, can be left null if path included in @inName . Must end in "/"
#' @inName name of input VCF file EXCLUDING file extension. Assumes .vcf.gz
#' @outPath path where filtered VCF and related are to be stored.Can be left null if path included in @outName . Must end in "/".
#' @outName name desired for output EXCLUDING extension. Output will be .vcf.gz
Loop to filter all 18 VCF files in parallel
<-here::here("output/")
inPath<-here::here("output/")
outPathsource(here::here("code","imputationFunctions.R"))
require(furrr); options(mc.cores=18); plan(multiprocess)
future_map(1:18,~postImputeFilter(inPath=inPath,
inName=paste0("chr",.,"_DCas20_5629_EA_REFimputed"),
outPath=outPath,
outName=paste0("chr",.,"_DCas20_5629_EA_REFimputedAndFiltered")))
Check what’s left
::map(1:18,~system(paste0("zcat ",here::here("output/"),"chr",.,"_DCas20_5629_EA_REFimputedAndFiltered.vcf.gz | wc -l")))
purrr# 5785
# 2106
# 1951
# 2306
# 2271
# 2093
# 911
# 1795
# 2048
# 1504
# 1486
# 1881
# 1500
# 2757
# 2205
# 1562
# 1636
# 1519
cd /workdir/mw489/TARI_2020GS/output/;
cp -r *_DCas20_5629_EA_REFimputed* /home/jj332_cas/marnin/TARI_2020GS/output/
The function below will (1) convert the input VCF to plink1.9 binary format and (2) convert the plink binary to a dosage (0,1,2) matrix with special attention to which allele gets counted in the file.
NOTICE: I was worried about plink1.9
changing allele codes between files. There is some risk the counted allele could switch between e.g. the reference panel and the progeny files because of allele freq. (see plink documentation). To avoid this, went to extra trouble: write a file suffixed *.alleleToCount
listing SNP ID (column 1) and the ALT allele from the VCF (column 2). Pass the file to plink1.9
using the --recode-allele
flag to ensure all output dosages count the ALT allele consistent with the VCFs. The reason to use plink1.9
is that Beagle5
imputed files don’t have a DS (dosage) field that can be directly extracted. Instead, phased genotypes e.g. 0|1
need to be converted to dosages (e.g. 0|1 --> 1
, 1|1 --> 2
). An alternative might be to extract the haplotypes using vcftools
and manually (in R) computed the dosages; that would give most control but is slow.
cd /home/jj332_cas/marnin/TARI_2020GS/;
library(tidyverse); library(magrittr);
source(here::here("code","imputationFunctions.R"))
require(furrr); options(mc.cores=18); plan(multiprocess)
<-here::here("output/")
pathOut
# Imputation reference panel
future_map(1:18,~convertVCFtoDosage(pathIn="/home/jj332_cas/CassavaGenotypeData/nextgenImputation2019/ImputationEastAfrica_StageII_90919/",
pathOut=pathOut,
vcfName = paste0("chr",.,"_ImputationReferencePanel_StageVI_91119")))
# DCas20_5629
future_map(1:18,~convertVCFtoDosage(pathIn=here::here("output/"),pathOut=pathOut,
vcfName = paste0("chr",.,"_DCas20_5629_EA_REFimputedAndFiltered")))
# Genome-wide dosage (for use in R) for each dataset
# Imputation reference panels
createGenomewideDosage(pathIn = here::here("output/"), chroms=1:18, "_ImputationReferencePanel_StageVI_91119")
# DCas20_5629
createGenomewideDosage(pathIn = here::here("output/"), chroms=1:18, "_DCas20_5629_EA_REFimputedAndFiltered")
sessionInfo()