Skip to content

Commit

Permalink
delete main globi scripts and references to globi in other scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
casanchez committed Oct 11, 2024
1 parent 5892a1c commit fb645be
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 196 deletions.
4 changes: 2 additions & 2 deletions Code/02_1b_Digest GenBank.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ gb %<>% dplyr::rename(HostOriginal = "Host") %>%
"Myxini",
"Reptilia") | HostOrder %in%
c("Testudines", "Crocodylia"))
# Reptilia is defunct but left in case GLOBI has something on it
# or it"s reinstituted or something weird
# Reptilia is defunct but left in case
# it's reinstituted or something weird

# get vector of the species names
virus_vec <- gb %>%
Expand Down
56 changes: 0 additions & 56 deletions Code/02_3a_Download GLOBI.R

This file was deleted.

79 changes: 0 additions & 79 deletions Code/02_3b_Digest GLOBI.R

This file was deleted.

55 changes: 0 additions & 55 deletions Code/02_3c_Format GLOBI.R

This file was deleted.

4 changes: 1 addition & 3 deletions Code/03_Merge clean files.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ clo <- readr::read_csv("./Intermediate/Formatted/CLOVERFormatted.csv", col_type
print("clo")
pred <- vroom("./Intermediate/Formatted/PREDICTAllFormatted.csv", col_type = cols(PMID = col_double(), PublicationYear = col_double()))
print("pred")
globi <- vroom("./Intermediate/Formatted/GLOBIFormatted.csv", col_type = cols(PMID = col_double(), PublicationYear = col_double()))
print("globi")

if(is.numeric(clo$NCBIAccession)) {clo %<>% dplyr::mutate(NCBIAccession = as.character(NCBIAccession))}

virion <- dplyr::bind_rows(clo, pred, gb, globi)
virion <- dplyr::bind_rows(clo, pred, gb)
#
# chr_cols <- names(virion[, sapply(virion, is.character)])
# virion <- virion %>%
Expand Down
2 changes: 1 addition & 1 deletion Code/04_High level VIRION checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ virion %<>% dplyr::mutate(
print("relocate")


# This only applies to CLOVER and GLOBI, which both don't have any other internal flags
# This only applies to CLOVER, which doesn't have any other internal flags
virion %<>% dplyr::mutate(HostFlagID = replace_na(HostFlagID, FALSE))
print("mutate1")

Expand Down

0 comments on commit fb645be

Please sign in to comment.