Open yamkela-mg opened 7 months ago
Hi, Cannot read some of your text. Can you please update the output in readable format ? If possible upload the query ids as well.
Chirag.
I managed to get it to print more than 10 lines in the output file by including the sink() function on my r script.
Another question, what do the NAs on my output file mean? I got a lot of them and when I manually checked some of those accessions they do exist on NCBI protein database
Internally It does taxonomy search using R packages taxizedb
and taxize
. Make sure that these packages have latest taxonomy databases downloaded in form of SQL files.
Hi there,
I am add NCBI taxonomy classifications to my DIAMOND output file. I ran PhyloR as follows:
library (phyloR) library (readr) library (taxize) setwd("/home/ymgwatyu/lustre/000_GenomeData/01_MinION/phylor") data <- read_tsv("/home/ymgwatyu/lustre/000_GenomeData/01_MinION/phylor/diamond_data.txt", show_col_types = FALSE)
add_taxonomy_columns(data, ncbi_accession_colname = "ncbi_accession", ncbi_acc_key = "98845081e276ecedd2e2b92d339fb7354108", taxonomy_level = "family", map_superkindom = FALSE, batch_size = 20)
The output file looks like this : ?^?^? Done. Time taken 6.39 ?^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^$ ?^?? Rank search begins... ?^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^?^??^$ ?^?^? Done. Time taken 0.95
A tibble: 6,079 ?^? 4
Gene ncbi_accession taxid family