Comments (2)
I am following the online supplementary document and find this problem too.
When I try
strata <- strata_blast(strata, blast_args=list(nthreads=16L)) %>%
+ strata_besthits
I get
Error in (function (fastafile, blastdb = "blastdb", verbose = FALSE) :
Failed to make blast database blastdb/1008392.faa
In addition: Warning message:
In system2("makeblastdb", stderr = TRUE, stdout = TRUE, args = c("-dbtype", :
running command ''makeblastdb' -dbtype prot -in uniprot-seqs/1008392.faa -out blastdb/1008392.faa 2>&1' had status 1`
Then I remove this TaxID by strata <- prune(strata, '1008392', type='name')
It works. Meanwhile, the "TaxID.tab" need a header. Otherwise, you will get this error message.
The following named parsers don't match the column names: qseqid, sseqid, qstart, qend, sstart, send, evalue, score, staxid
from phylostratr.
@urmi-21 @haojingshao you are exactly right. See issue #11 where we just now fixed this issue by removing the species 1008392, as suggested by @urmi-21, from the default set of representatives for bacteria. Apparently the proteome was removed this year from UniProt. Everything should work fine in the latest commit.
@haojingshao the BLAST headers in phylostratr
are definitely a pain. You may submit a separate issue report for cleaning up header handling and error messages if you want.
I'll close this issue for now since the immediate problem of the missing 1008392 strain is solved in #11 and the general problem of missing sequences can be avoided by removing them as @haojingshao shows.
from phylostratr.
Related Issues (20)
- Issue in compiling phylostratr results HOT 2
- Issues in compiling results
- strata_blast issue HOT 18
- [Question]NCBI nr database VS uniprot HOT 1
- BLAST Database error HOT 3
- qseqid problem HOT 8
- Error: 'classification' is not an exported object from 'namespace:taxizedb' HOT 1
- No alias or index file found
- Duplicated factor levels while calling stratify()
- strata_blast issue, similar to #15
- Error when importing external blast results
- May I use Phylostratr to study the genomic phylostratigraphy of Mycobacterium tuberculosis?
- Error in readLines(con) : HTTP error 400. HOT 14
- Help!!!! HTTP 400 HOT 1
- Error in (function (fastafile, blastdb = "blastdb", verbose = FALSE) : Failed to make blast database blastdb/Araport11_genes.201606.pep.fasta In addition: Warning message: In system2("makeblastdb", stderr = TRUE, stdout = TRUE, args = c("-dbtype", : running command '"makeblastdb" -dbtype prot -in Araport11_genes.201606.pep.fasta -out blastdb/Araport11_genes.201606.pep.fasta' had status 1 HOT 10
- Error in if (class(strata) != "Strata") { : the condition has length > 1 HOT 1
- Error: The focal species is not present in UniProt HOT 3
- "ncbi_tree" function error: Error in x$id : $ operator is invalid for atomic vectors HOT 1
- Error in `sql_integer_list(x)` when trying `strata_convert()` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phylostratr.