arq5x / bedtools2

bedtools - the swiss army knife for genome arithmetic
MIT License
939 stars 287 forks source link

remote file support #1076

Open geertvandeweyer opened 10 months ago

geertvandeweyer commented 10 months ago

It was mentioned in other issues that since v 2.28.0 , htslib was supported/included in bedtools. Does this mean that streaming data from s3 should be possible?

I tried this command using bedtools 2.30.0 installed from conda.

bedtools coverage -a local_file.bed -b s3://myBucket/myObject.bam

The S3 object is reachable. I got this error:

Error: Unable to open file s3://myBucket/myObject.bam. Exiting

It's unclear to me if I misconfigured, or if this is not (yet) supported.

Best, Geert