cooler icon indicating copy to clipboard operation
cooler copied to clipboard

access HTTP or FTP URI of cool files?

Open lidaof opened this issue 7 years ago • 2 comments

Hi,

What does the cooler URI mean? I am trying to run cooler info against a HTTP URL of a .cool file, but get OSError error. Thanks.

$ cooler info -h
Usage: cooler info [OPTIONS] COOL_PATH

  Display file info and metadata.

  COOL_PATH : Path to a COOL file or Cooler URI.

Options:
  -f, --field TEXT  Print the value of a specific info field.
  -m, --metadata    Print the user metadata in JSON format.
  -o, --out TEXT    Output file (defaults to stdout)
  -h, --help        Show this message and exit.

lidaof avatar Jun 01 '17 21:06 lidaof

Cooler URI refers to the filepath + optional resource path within the file, described here. Direct HTTP access is not supported yet.

nvictus avatar Jun 02 '17 01:06 nvictus

Thanks for reply @nvictus. Is there any plan to support direct HTTP access in the future?

lidaof avatar Jun 02 '17 05:06 lidaof