Skip to content

pybigtools: more flexibility with open #66

Description

@jackh726

Currently, for files, we hard code the extensions (.bigWig/.bw/.bigBed/.bb). Seems that this is worked around (https://github.com/Bio2Byte/tools-iuc/blob/df9c285dddde7d901823c608c8d7dab971224b5b/tools/bigwig_outlier_bed/bigwig_outlier_bed.py#L115)

Would be good to offer a bit more flexibility. A couple options:

  1. Add a type parameter (bigwig, bigbed)
  2. Test open a file regardless of extension

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