bugfix: import all taxonomy IDs as integer

This commit is contained in:
hyginn 2020-10-13 20:33:04 +10:00
parent 0541612e0b
commit 804e3a73b7

View File

@ -212,7 +212,7 @@ dbAddProtein <- function(db, jsonDF) {
name = jsonDF$name[i],
RefSeqID = jsonDF$RefSeqID[i],
UniProtID = jsonDF$UniProtID[i],
taxonomyID = jsonDF$taxonomyID[i],
taxonomyID = as.integer(jsonDF$taxonomyID[i]),
sequence = dbSanitizeSequence(jsonDF$sequence[i]))
db$protein <- rbind(db$protein, x)
}