Skip to content
Browse files
docs: zenodo example
  • Loading branch information
johanneskoester committed Mar 30, 2022
1 parent 3ff25a9 commit 76159ae22539e38923712e487371a5f32d7cb3cf
Showing 1 changed file with 3 additions and 1 deletion.
@@ -26,6 +26,7 @@ Snakemake includes the following remote providers, supported by the correspondin
* GridFTP: ``snakemake.remote.gridftp``
* iRODS: ``snakemake.remote.iRODS``
* EGA: ``snakemake.remote.EGA``
* Zenodo: ``snakemake.remote.zenodo``
* AUTO: an automated remote selector

Amazon Simple Storage Service (S3)
@@ -811,14 +812,15 @@ Zenodo UI and REST API responses were designed with having in mind uploads of a
Avoid creating uploads with too many files, and instead group and zip them to make it easier their distribution to end-users.
.. code-block:: python
from snakemake.remote.zenodo import RemoteProvider
import os
# let Snakemake assert the presence of the required environment variable
access_token = os.environ["MYZENODO_PAT"]
zenodo = RemoteProvider(deposition="your deposition id", access_token=access_token)
rule upload:

0 comments on commit 76159ae

Please sign in to comment.