Skip to content

to_bigwig: wrong format for chromsizes #168

@rusch-emma

Description

@rusch-emma

Hi!
I ran into an issue today with the to_bigwig function and it turned out it was the way I provided chromsizes. The two issues were that chromsizes wasn't indexed by "chrom" and that I included a "name" column which I was used to from other open2c tools such as cooltools (termed "viewFrames", I think?) and which would cause the function to fail with error messages like invalid unsigned integer: "chr2L" which were not very clear to me.

I think it would be helpful if (1) there were clearer error messages describing these mistakes and (2) more flexibility in the data formats provided and/or a more consistent data format to use such as viewFrames.

Thanks!

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