Skip to content

Commit

Permalink
File size savers, and large files removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin J. Carlson committed May 6, 2021
1 parent 863929d commit 0a6950e
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 221,588 deletions.
2 changes: 1 addition & 1 deletion Code/02_1a_Digest GenBank.R
Expand Up @@ -39,4 +39,4 @@ write_csv(virus.table, 'Intermediate/GBVirusTax.csv')
gb %<>% rename(VirusOriginal = "Species") %>%
left_join(virus.table)

write_csv(gb, "Intermediate/Unformatted/GenBankUnformatted.csv")
vroom_write(gb, "Intermediate/Unformatted/GenBankUnformatted.csv.gz")
2 changes: 1 addition & 1 deletion Code/02_1b_Format GenBank.R
Expand Up @@ -70,4 +70,4 @@ gb %<>% mutate_at(c("Host", "HostGenus", "HostFamily", "HostOrder", "HostClass",
"Virus", "VirusGenus", "VirusFamily", "VirusOrder", "VirusClass"),
tolower)

write_csv(gb, "Intermediate/Formatted/GenbankFormatted.csv")
vroom_write(gb, "Intermediate/Formatted/GenbankFormatted.csv.gz")
2 changes: 1 addition & 1 deletion Code/03_Merge clean files.R
Expand Up @@ -13,5 +13,5 @@ if(class(clo$NCBIAccession)=='numeric') {clo %<>% mutate(NCBIAccession = as.char

virion <- bind_rows(clo, pred, gb, sra, globi)

vroom_write(virion, "Intermediate/Formatted/VIRIONUnprocessed.tsv.gz")
vroom_write(virion, "Intermediate/Formatted/VIRIONUnprocessed.csv.gz")

2 changes: 1 addition & 1 deletion Code/04_High level VIRION checks.R
@@ -1,5 +1,5 @@

virion <- vroom("Intermediate/Formatted/VIRIONUnprocessed.tsv.gz")
virion <- vroom("Intermediate/Formatted/VIRIONUnprocessed.csv.gz")

# Is there anything that's not vertebrate in here?

Expand Down
1 change: 0 additions & 1 deletion Code/05_Dissolve_VIRION.R
Expand Up @@ -79,7 +79,6 @@ virion %<>%
virion %<>%
group_by(HostTaxID, VirusTaxID) %>%
summarise_at(vars(c("AssocID")), ~list(.x)) %>%
arrange(Host, Virus) %>%
mutate(AssocID = sapply(AssocID, fixer))

write_csv(virion, "Virion/Edgelist.csv")
12,860 changes: 0 additions & 12,860 deletions Intermediate/Formatted/GenbankFormatted.csv

This file was deleted.

123,033 changes: 0 additions & 123,033 deletions Intermediate/Formatted/VIRIONUnprocessed.csv

This file was deleted.

Binary file removed Intermediate/Formatted/VIRIONUnprocessed.tsv.gz
Binary file not shown.
85,690 changes: 0 additions & 85,690 deletions Intermediate/Formatted/VirionPartialDiscovery.csv

This file was deleted.

0 comments on commit 0a6950e

Please sign in to comment.