Code Monkey home page Code Monkey logo

Comments (8)

jfy133 avatar jfy133 commented on August 26, 2024

I realised today when looking at this issue, this didn't work very nicely when doing run merging, so I came up with another solution using seqkit (and it gave me an excuse to use try out NXF stdout output type)

from taxprofiler.

jfy133 avatar jfy133 commented on August 26, 2024

Actually the read length is for the database building, which is not something we support currently, so this is not necessary. A user will need to estimate already and build their corresponding database with that read length in mind, and pass that database to the pipeline.

from taxprofiler.

Midnighter avatar Midnighter commented on August 26, 2024

My bad about this, yes, one needs defined read lengths for building the Bracken database and can then select one length in the analysis step.

from taxprofiler.

Sabrin2020 avatar Sabrin2020 commented on August 26, 2024

Is the braken database same as kraken database, still confused. I have built my custom kraken database, is this what i will input to Braken ?

from taxprofiler.

Midnighter avatar Midnighter commented on August 26, 2024

Not exactly the same, there is an additional build step that Bracken needs to perform on an existing kraken2 database. When it's done you can use that database for both kraken2 and Bracken. Take a look at this pipeline to build one:

https://github.com/Midnighter/kraken2-bracken-test-db

It would need some adjustments to be generally useful. This just builds the test database.

from taxprofiler.

Sabrin2020 avatar Sabrin2020 commented on August 26, 2024

I have built my kraken2 custom database sucessfully and have the kraken.report from the sample i am testing. Is not that the same database we handle its link to bracken?

from taxprofiler.

Sabrin2020 avatar Sabrin2020 commented on August 26, 2024

Okay , i ran braken-build too but still get same error

bracken-build -d kraken.NCBI.nt -t 32 -l 150 -x kraken.NCBI.nt -y kraken2

bracken -d kraken.NCBI.nt -i kraken.report -o test.bracken -w OUTREPORT -r 150 -l S

**Note that this script will try to use kraken2 as default. If kraken2 is not installed, kraken will be used instead

Checking for Valid Options...
ERROR: kraken.NCBI.nt/database150mers.kmer_distrib does not exist
Run bracken-build to generate the kmer distribution file.

from taxprofiler.

Midnighter avatar Midnighter commented on August 26, 2024

Let's take this on Slack or in another issue. Your problem is not related to the original issue here.

from taxprofiler.

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.