Skip to content

Error loading a bigWig generated by bedgraphtobigwig into IGV #93

@williamrowell

Description

@williamrowell

Thanks for the tool! Trying to work it into our flow as a much faster replacement for UCSC tools.

I'm trying to create bigWigs for basemod data, starting with pileups generated by other tools. I'm using a container I built by compiling from commit 3844b58 with the Dockerfile below:

FROM rust:1.93.0

WORKDIR /opt
RUN git clone https://github.com/jackh726/bigtools.git \
	&& cd bigtools \
	&& git checkout "3844b58" \
	&& cargo build --release

	ENV PATH "${PATH}:/opt/bigtools/target/release"

Here's some example code that's completing without any errors/warnings/messages:

cut -f 1,2 ${ref_fai} > chromsizes
zcat ${bedgraph} \
| cut -f 1,2,3,${col_num} \
| grep -v '^#' \
| sort -k1,1 -k2,2n \
> temp.bedgraph

bedgraphtobigwig \
    --nthreads ${threads} \
    temp.bedgraph \
    chromsizes \
    ${samp_name}.${feature}.bw

But when I try to load any of these files in IGV, I get the error message below. Any thoughts or hints as to what could be going wrong?

Error loading http://path/to/my.bw: newPosition 0: (-154032140 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions