Giter VIP home page Giter VIP logo

Comments (2)

haojingshao avatar haojingshao commented on June 25, 2024

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.

arendsee avatar arendsee commented on June 25, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.