Git Product home page Git Product logo

Comments (3)

iiSeymour avatar iiSeymour commented on June 23, 2024

I can think of a couple of ways to do this - but perhaps the providing a --skip flag that takes a file containing read_ids would be best? Then you could either use a new output file with > or append to the prior one with >>.

$ bonito basecaller  --half --skip read_ids dna_r9.4.1 reads >> call.fasta 

Does that work for you?

from bonito.

cdebuck avatar cdebuck commented on June 23, 2024

Hi,

I am using bonito version 0.5.1 and I'm also interested in restarting a run, and supplying read-ids that bonito can skip. I looked into the --skip argument, but I cannot use it in the way that is described above, because I cannot supply a file with read_ids to the --skip argument.
Is this a bug, or am I misunderstanding the use of the --skip argument?

from bonito.

iiSeymour avatar iiSeymour commented on June 23, 2024

Hi @cdebuck - sorry, it wasn't implemented exactly as described here. You can supply a file of read ids with the --read-id option and add --skip to change the behaviour to skip the reads instead of basecall only those reads.

$ head rid
f39c764f-0028-4de5-b5e6-06d674dfd260
ff7a4c88-caa8-41e8-9e03-501f3e3e7700
b6dd8879-cdef-41a6-94ca-bdb28be28111
190c4078-17b0-4d07-aec7-113c23e5ce27
540ced5c-fcf2-4375-8a36-69e28a4c7e74
$  bonito basecaller $model $fast5s --skip --read-ids rid  > calls.bam

from bonito.

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.