bugfix: import all taxonomy IDs as integer
This commit is contained in:
parent
0541612e0b
commit
804e3a73b7
@ -212,7 +212,7 @@ dbAddProtein <- function(db, jsonDF) {
|
|||||||
name = jsonDF$name[i],
|
name = jsonDF$name[i],
|
||||||
RefSeqID = jsonDF$RefSeqID[i],
|
RefSeqID = jsonDF$RefSeqID[i],
|
||||||
UniProtID = jsonDF$UniProtID[i],
|
UniProtID = jsonDF$UniProtID[i],
|
||||||
taxonomyID = jsonDF$taxonomyID[i],
|
taxonomyID = as.integer(jsonDF$taxonomyID[i]),
|
||||||
sequence = dbSanitizeSequence(jsonDF$sequence[i]))
|
sequence = dbSanitizeSequence(jsonDF$sequence[i]))
|
||||||
db$protein <- rbind(db$protein, x)
|
db$protein <- rbind(db$protein, x)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user