8000 ggsashimi can easy read from remote BAMs if allowed to do it · Issue #95 · guigolab/ggsashimi · GitHub
[go: up one dir, main page]

Skip to content

ggsashimi can easy read from remote BAMs if allowed to do it #95

Open

Description

@diekhans

New feature

Allow ggsashimi to access BAMs remotely via HTTP like many other tools operating on regions of BAMs.

Usage scenario

I want to render images on my laptop so I can look at them immediately, however downloading large BAMs just to render small ranges of the BAMs.
This is inefficient of my time.

Suggest implementation

pysam can read BAMs remotely by HTTP,. however ggsashimi disallows it by checking if there is a file present. Just deleting these two lines and ggsashimi works find on HTTP URLs to indexed BAMs

                if not os.path.isfile(bam):
                        continue

This check is also problematic as it causes ggsashimi to ignore BAMs without telling you which one is bad or why. Just let pysam generate an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0