Skip to content

Commit

Permalink
running tests + with chr2 of apple and still seeing discrepancy which…
Browse files Browse the repository at this point in the history
… is not attributed to genome-wide LD calculation but most likely to distance estimation difference between binary data and continuous allele frequency data
  • Loading branch information
jeffersonfparil committed Dec 31, 2023
1 parent 5d37291 commit 97a3ac8
Show file tree
Hide file tree
Showing 9 changed files with 1,956 additions and 1,832 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ This is used for genotype classes, i.e., binned allele frequencies: $g = {{1 \ov
### Diploid (Apple) mean absolute error

![mae_barplots](./res/apple-Mean_absolute_error.svg)
![mae_barplots](./res/applechr_2-Mean_absolute_error.svg)

### Diploid (Grape) mean absolute error

Expand All @@ -205,6 +206,7 @@ This is used for genotype classes, i.e., binned allele frequencies: $g = {{1 \ov
### Diploid (Apple) concordance of observed and imputed genotype classes

![concordance_genotype_classes_barplots](./res/apple-Concordance.svg)
![concordance_genotype_classes_barplots](./res/applechr_2-Concordance.svg)

### Diploid (Grape) concordance of observed and imputed genotype classes

Expand All @@ -229,6 +231,7 @@ This is used for genotype classes, i.e., binned allele frequencies: $g = {{1 \ov
### Diploid (Apple) coefficient of determination

![r2_barplots](./res/apple-Coefficient_of_determination.svg)
![r2_barplots](./res/applechr_2-Coefficient_of_determination.svg)

### Diploid (Grape) coefficient of determination

Expand Down
2 changes: 1 addition & 1 deletion res/grape-Coefficient_of_determination.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion res/grape-Concordance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion res/grape-Mean_absolute_error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
570 changes: 308 additions & 262 deletions res/lucerne-Coefficient_of_determination.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
553 changes: 293 additions & 260 deletions res/lucerne-Concordance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,648 changes: 1,342 additions & 1,306 deletions res/lucerne-Mean_absolute_error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions res/perf.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ mv LinkImpute.data.grape.num.raw.txt.vcf grape.vcf
# grep "^##Extracted" grape.vcf >> grapeS2.vcf
# grep "^#CHROM" grape.vcf >> grapeS2.vcf
# grep "^S2" grape.vcf >> grapeS2.vcf
### (6) diploid apple single chromosome
head -n1 apple.vcf > applechr_2.vcf
grep "^##chr_2" apple.vcf >> applechr_2.vcf
grep "^##Extracted" apple.vcf >> applechr_2.vcf
grep "^#CHROM" apple.vcf >> applechr_2.vcf
grep "^chr_2" apple.vcf >> applechr_2.vcf
```

*ssv2vcf.R* - convert space-delimited genotype data from LinkImpute paper
Expand Down
2 changes: 1 addition & 1 deletion res/perf.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ done
rm ploidy_vcf-${SLURM_ARRAY_TASK_ID}.tmp

### Execute:
# sbatch --array=1-24%12 perf.slurm
# sbatch --array=1-44 perf.slurm

0 comments on commit 97a3ac8

Please sign in to comment.