The cluster.ci_gi.seqs.create function drops the following error
Counting species for taxon 4613
Number of sequences for taxon 4613 : 16929
Too many seqs to blast for taxid 4613 ... retrieving children
Error in .children(current.taxon, nodes) : unused argument (nodes)
Reproducible example
#try out to get a molecular alignment using Phylotar
#libraries
#source the phylotaR package
source("blast.R")
source("ci_gi.R")
source("cl.R")
source("clusters.R")
source("db.R")
source("ncbi-remote.R")
source("nodes.R")
source("query-local.R")
#run an analysis follwoing the run.sh script, this is the run.r copied
library(foreach)
library(doMC)
set.seed(111)
options(error=recover)
## Adjustable parameters:
## Maximum number of sequences per species
MODEL.THRESHOLD <<- 3000
## Maximum number of sequences to blast in a single run; if taxon has more subtree sequences
## than that, its children will get clustered
MAX.BLAST.SEQS <<- 10000
## Maximum characters in one sequence
MAX.SEQUENCE.LENGTH <<- 25000
## directory for sequence cache; will be created if does not exist
SEQS.CACHE.DIR <<- "./sequences/"
## Download file ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdump.tar.gz,
## unzip and specify directory where file 'nodes.dmp' is located
taxdir <- 'taxdmp'
## Number of processing units
CORES <<- 4
registerDoMC(CORES)
## Do analysis for Felidae family
taxid <- 4613
nodes.create(taxid, taxdir=taxdir, file.name='dbfiles-bromeliaceae-nodes.tsv')
clusters.ci_gi.seqs.create(4613, 'dbfiles-bromeliaceae-nodes.tsv',
files=list(clusters='dbfiles-bromeliaceae-clusters.tsv',
ci_gi='dbfiles-bromeliaceae-ci_gi.tsv',
seqs='dbfiles-bromeliaceae-seqs.tsv'))
The cluster.ci_gi.seqs.create function drops the following error
Counting species for taxon 4613 Number of sequences for taxon 4613 : 16929 Too many seqs to blast for taxid 4613 ... retrieving children Error in .children(current.taxon, nodes) : unused argument (nodes)
Reproducible example
sessionInfo