GithubHelp home page GithubHelp logo

Comments (6)

MariaNattestad avatar MariaNattestad commented on May 31, 2024

Hi Shaun. I hope you mean Ribbon, not Bandage :) though I'm sure Bandage is very useful too...
Ribbon does have an automated way to take pictures of the top and bottom plots. It works by going through every row in a BEDPE file, and it has to be for the same sam/bam file. You would load your BAM file and any features like genes or repeatMasker annotation (bed format) that you want, and then it will go through each row in the BEDPE file and take pictures. You can find this in the Advanced Settings in the navigation bar.

Since Ribbon is entirely client-side it's impossible to upload files to it, but it sounds like the existing automation may cover your use case.

Note: It has to be a BEDPE file (because the automation was a quick hacky feature addition to help with Sniffles variant-call curation), but you can make both sides the same coordinate if you only need a single location.

Does that help?

from ribbon.

sjackman avatar sjackman commented on May 31, 2024

😳 Sorry! Yes, Ribbon. I've been using Ribbon, Bandage, and IGV together with great success in visualizing misassemblies.

from ribbon.

sjackman avatar sjackman commented on May 31, 2024

Since Ribbon is entirely client-side it's impossible to upload files to it

I did not know that. Cool!

Ribbon does have an automated way to take pictures of the top and bottom plots.

Great! Thanks. After playing with it a bit, it seems like it selects a specified number of queries randomly from those that span either breakpoint and have split alignments. I would like to select all queries (in my case contig alignments), whether they're split or not, within a specified region. Although getting a figure for each read automated would be awesome, it's not critical.

I would like to be able to automate Download top view as png from the command line. That is, load a BAM and BAI file, select a region specified in a BED file, and save the top view to a PNG. Is that possible?

from ribbon.

sjackman avatar sjackman commented on May 31, 2024

I'm having trouble interactively selecting a region to display. Specifying a single position in Select position work as expected. Specifying a range such as 1:4000000-4100000 gives Error: start value: could not be made into a number.

I tried using Upload variants then selecting a BED file containing that region. It displays a split view showing the query spanning 1:4000000 and the query spanning 1:4100000 but not the queries in between. Is it possible to display a specified range?

from ribbon.

MariaNattestad avatar MariaNattestad commented on May 31, 2024

When you specify a position, it will grab all the reads within a certain distance of that position, which is specified in the Advanced Settings. You can't specify a range, but you could do 1:4050000 and set the distance in the Advanced Settings to 50000. This is not usually a good idea since it crashes if you load too many reads into memory at once, so beware.

You can only do the automation with a BEDPE file, not a BED file, but you can just turn your BED file into a BEDPE file. The instructions in Advanced Settings under automation tell you how the automation works. It does take pictures of individual reads automatically. You can say how many reads you want to grab, so if you want all of them, just make it like 200.

from ribbon.

sjackman avatar sjackman commented on May 31, 2024

I'll try out the Advanced Settings for the distance. That should do the trick. I'm looking at alignment of contigs to a reference, so even though the range is a meg, there's only a dozen or so query alignments. Thanks for your help, Maria!

from ribbon.

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.