Skip to content

Commit

Permalink
docs: explain automatic decompression strategy for http remote provider
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Mar 31, 2022
1 parent 950d8ba commit e6826b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/snakefiles/remote_files.rst
Expand Up @@ -364,6 +364,12 @@ For different types of authentication, you can pass in a Python ```requests.auth
Since remote servers do not present directory contents uniformly, ``glob_wildcards()`` is __not__ supported by the HTTP provider.

.. note::

Snakemake automatically decompresses http remote files if they are marked as `Content-Encoding: gzip` by the server and **not** end with ``.gz``.
The reason is that for those files the rule obviously expects the uncompressed version.
If in contrast the file ends on ``.gz`` the compressed version is expected and therefore no automatic decompression happens.

File Transfer Protocol (FTP)
============================

Expand Down

0 comments on commit e6826b6

Please sign in to comment.