Skip to content

Commit

Permalink
tidyup
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Oct 10, 2024
1 parent 201944f commit cf4783a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 74 deletions.
Binary file modified PCAone.pdf
Binary file not shown.
10 changes: 7 additions & 3 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#+subtitle: Version 0.4.7
#+author: Zilong Li
#+email: [email protected]
#+options: toc:2 num:t email:t
#+options: toc:2 num:nil email:t
#+latex_compiler: xelatex
#+latex_class: article
#+latex_class_options: [a4paper, 11pt]
Expand All @@ -15,8 +15,6 @@
#+latex_header: \hypersetup{colorlinks=true, linkcolor=blue}
#+latex: \clearpage

* Bad :noexport:

[[https://github.com/Zilong-Li/PCAone/actions/workflows/linux.yml/badge.svg]]
[[https://github.com/Zilong-Li/PCAone/actions/workflows/mac.yml/badge.svg]]
[[https://bioconda.github.io/recipes/pcaone/README.html][https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat]]
Expand Down Expand Up @@ -462,6 +460,12 @@ Currently, the LD R2 for pairwise SNPs within a window can be outputted via =--p
-o adj
#+end_src

We provide the
[[https://github.com/Zilong-Li/PCAone/blob/main/scripts/calc_decay_bin.R][calc_decay_bin.R]]
script to parse the output file =.ld.gz= and calculate the average R2 for each
bin as well as plotting. We also provide the nextflow
[[https://github.com/Zilong-Li/PCAone/blob/main/workflows/ld.nf][ld.nf]] for
benchmarking the LD statistics.

** Prunning based on Ancestry-Adjusted LD

Expand Down
31 changes: 0 additions & 31 deletions misc/bgen-concat.py

This file was deleted.

39 changes: 0 additions & 39 deletions misc/bgen-permute.py

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/calc_decay_bin.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ res <- do.call(rbind.data.frame, res)
res$bin <- res$bin * (window / nbins)
colnames(res) <- c("chr", "distance", "num", "avg_R2", "std")

write.table(res, fout, sep = "\t", col.names = F, row.names = F, quote = F)
write.table(res, fout, sep = "\t", row.names = F, quote = F)

File renamed without changes.
File renamed without changes.

0 comments on commit cf4783a

Please sign in to comment.