Skip to content

Commit

Permalink
in case of re-runs
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Jan 16, 2025
1 parent a7f2f01 commit 781ad18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/genotypes/variant_ids_bim.r
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compress_alleles <- function(a) {
# )

# update orig bim
file.copy(paste0(bfile, ".bim"), paste0(bfile, ".bim.orig"))
file.copy(paste0(bfile, ".bim"), paste0(bfile, ".bim.orig"), overwrite = TRUE)
bim <- data.table::fread(paste0(bfile, ".bim.orig"), nThread = nthreads)
bim$switch <- bim$V5 > bim$V6
temp <- bim$V5[bim$switch]
Expand Down

0 comments on commit 781ad18

Please sign in to comment.