Git Product home page Git Product logo

Comments (5)

HajkD avatar HajkD commented on July 30, 2024 1

Hi @cparsania

Many thanks for this input.

There will be functions named blast_protein_to_ncbi_nr(), blast_nuceotide_to_ncbi_nt(), etc which I haven't implemented fully yet. So this NCBI nr BLAST feature will be available soon.

I intentionally wanted all blast_*_to_*() functions to be between a query fasta against a subject fasta file to support low-level comparisons and then build on top of them larger search requests against large sequence databases.

I hope this helps and I will try to make sure that this feature will be available soon.

Best wishes,
Hajk

from metablastr.

cparsania avatar cparsania commented on July 30, 2024 1

I intentionally wanted all blast_to() functions to be between a query fasta against a subject fasta file

However, the documentation for argument subject is path to subject file in fasta format or blast-able database, which I interpreted as either fasta file or blast format database created using makeblastdb command. Do you think is it worth mentioning argument subject takes fasta only ?

--- Edit

Also, there is an argument is.subject.db which says that logical specifying whether or not the subject file is a file in fasta format (is.subject.db = FALSE; default) or a blast-able database that was formatted with makeblastdb (is.subject.db = TRUE) , which means making this to TRUE allow users to supply nr db. Is that right ?

from metablastr.

HajkD avatar HajkD commented on July 30, 2024 1

Hi @cparsania

Many thanks for coming back to me on this one.

Also, there is an argument is.subject.db which says that logical specifying whether or not the subject file is a file in fasta format (is.subject.db = FALSE; default) or a blast-able database that was formatted with makeblastdb (is.subject.db = TRUE) , which means making this to TRUE allow users to supply nr db. Is that right ?

I now see the confusion and I am very sorry for not being more clear here.

What I meant by is.subject.db is that in cases where users already used makeblastdb to convert their *.fasta file into a blast-able database then they could also use this fasta-database with these functions.

But now I see that this can be misunderstood and I will make this more clear in the documentation. Also, once I implemented the functions to blast against e.g. NCBI nr etc, I will make a reference in the documentation at this point to these new functions.

Thank you very much for your feedback and this allows me to improve the metablastr package.

Best wishes,
Hajk

from metablastr.

lucyintheskyzzz avatar lucyintheskyzzz commented on July 30, 2024

Hi I am getting a similar error:

sealionfeces <- readDNAStringSet(system.file("H:/ONRdolphinsealionpooled/sealionfecespooled/canu/medaka/consensus.fasta",

  • package = "rBLAST"))
    Error in .Call2("new_input_filexp", filepath, PACKAGE = "XVector") :
    cannot open file ''

@HajkD

from metablastr.

HajkD avatar HajkD commented on July 30, 2024

You need to remove system.file(...) around your path. This isn't a similar error as stated above.

from metablastr.

Related Issues (12)

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.