{"id":19158920,"url":"https://github.com/arnim/p4nreana-tutorials","last_synced_at":"2026-06-11T23:31:31.273Z","repository":{"id":221146125,"uuid":"753573935","full_name":"arnim/p4nreana-tutorials","owner":"arnim","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-06T11:52:07.000Z","size":1076,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T10:36:34.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arnim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-06T11:48:55.000Z","updated_at":"2024-03-05T16:16:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5ac7a46-b0ff-418d-b213-d1ea93182a6c","html_url":"https://github.com/arnim/p4nreana-tutorials","commit_stats":null,"previous_names":["arnim/p4nreana-tutorials"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arnim/p4nreana-tutorials","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2Fp4nreana-tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2Fp4nreana-tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2Fp4nreana-tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2Fp4nreana-tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnim","download_url":"https://codeload.github.com/arnim/p4nreana-tutorials/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2Fp4nreana-tutorials/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34222709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T08:45:40.226Z","updated_at":"2026-06-11T23:31:31.249Z","avatar_url":"https://github.com/arnim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REANA Tutorial 2024\n\nClone of https://gitlab-p4n.aip.de/p4nreana/tutorials\n\n## About\n[REANA](http://www.reana.io/) is a reusable and reproducible research data\nanalysis platform. It helps researchers to structure their input data, analysis\ncode, containerised environments and computational workflows so that the\nanalysis can be instantiated and run on remote compute clouds.\n\nREANA was born to target the use case of particle physics analyses, but is\napplicable to any scientific discipline. The system paves the way towards\nreusing and reinterpreting preserved data analyses even several years after the\noriginal publication.\n\n## Getting started\n### Install Miniconda\nYou can skip this if you have it already.  \n\nInstall conda first:\n* Linux:\n```\ncurl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o  Miniconda3-latest-Linux-x86_64.sh\n```\n* MacOS(x86):\n```\ncurl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o Miniconda3-latest-MacOSX-x86_64.sh\n```\n* MacOS (M1):\n```\ncurl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o Miniconda3-latest-MacOSX-arm64.sh\n```\nThese commands download the Miniconda installer script for your platform. After downloading, you can proceed with the installation.\n\n*****\n\nRun it and follow the instructions:\n```\nbash ~/Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda\n```\n\nInitialize conda:\n```\n~/miniconda/bin/conda init bash\n```\n\n### Prepare a new enviroment\nCreate a new conda enviroment:\n```\nconda create -n reana python=3.11\n```\n\nActivate it:\n```\nconda activate reana\n```\n\nIf you want to automatically activate the reana environment each time you open a terminal, add this line to your  **.bashrc_profile**.\n\n### Install reana-client\n\n```\npip install reana-client\n\n```\n\n### Final steps\n\nWe assume that you have already registered on [https://reana-p4n.aip.de](https://reana-p4n.aip.de).  \nLogin and add into your **$HOME/.bashrc_profile** the credentials from **https://reana-p4n.aip.de/profile**:\n\n```\nnano $HOME/.bashrc_profile\n```\n\n```\nexport REANA_SERVER_URL=https://reana-p4n.aip.de\nexport REANA_ACCESS_TOKEN=XXXXX\n```\nsave, logout and login again into the terminal.\n\n### Testing Setup\n\n```\nreana-client ping\n```\nResult should be something like this:\n```\n(reana) ~$ reana-client ping\nREANA server: https://reana-p4n.aip.de\nREANA server version: 0.9.1\nREANA client version: 0.9.1\nAuthenticated as: XXX XXXX\nStatus: Connected\n(reana) ~$\n```\n\n## Examples in the Tutorial\n\nGet all the examples in this GitLab repository:  \n`git clone --depth 1 git@gitlab-p4n.aip.de:p4nreana/tutorials.git`\n\n### Beginner\n\n1. [Hello World!](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/beginner/example1) -- This example prints a simple \"hello world\" message through REANA.\n2. [Sine Plot](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/beginner/example2) -- This example shows how to create a very basic plot of a sine function.\n\n### Intermediate\n\n1. [Up/Download](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/intermediate/example1) -- This example shows how to upload files to analyze (e.g. a catalog) and download useful outputs (e.g. a plot or a table).\n2. [Remote Data](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/intermediate/example2) -- This example shows how to get data from a remote database, such as S3.\n3. [TAP Queries](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/intermediate/example3) -- This example shows how to access data via TAP/VO from an external database and use it in REANA.\n\n### Advanced\n\n1. [Using Notebooks](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/advanced/example1) -- This example shows how to use a Jupyter Notebook insted of a python script for the Remote Data analysis.\n2. [Create custom Images](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/advanced/example2) -- This example shows how to build a custom imgage on gitlab, so that you can choose all the packages and libraries needed for the analsis to run.\n3. [Dimensionality Reduction](https://gitlab-p4n.aip.de/p4nreana/tutorials/-/tree/main/advanced/example3) -- This example shows three different projections for dimensionality reduction (UMAP, PCA, and t-SNE) and describes how to manage data flow between different pipelines using S3 private storage.\n\nCustom environments created for these exercises here: [reana-env](https://gitlab-p4n.aip.de/p4nreana/reana-env/)\n\n## Other Examples\n\nThere are many more examples on [REANA Hub](https://github.com/reanahub), e.g.:\n- [Evolution of World Population](https://github.com/reanahub/reana-demo-worldpopulation) -- [![Launch on REANA](https://www.reana.io/static/img/badges/launch-on-reana.svg)](https://reana-p4n.aip.de/launch?name=worldpopulation\u0026url=https%3A%2F%2Fgithub.com%2Freanahub%2Freana-demo-worldpopulation)\n- [ROOT Fit](https://github.com/reanahub/reana-demo-root6-roofit) -- [![Launch on REANA](https://www.reana.io/static/img/badges/launch-on-reana.svg)](https://reana-p4n.aip.de/launch?name=rootfit\u0026url=https%3A%2F%2Fgithub.com%2Freanahub%2Freana-demo-root6-roofit)\n\nOther interesting examples:\n- [LHC Collision Analysis](https://gitlab-p4n.aip.de/compute4punch/tutorials/reana-cern-open-data-tutorial) -- [![Launch on REANA](https://www.reana.io/static/img/badges/launch-on-reana.svg)](https://reana-p4n.aip.de/launch?name=cern-opendata\u0026url=https%3A%2F%2Fgitlab-p4n.aip.de%2Fcompute4punch%2Ftutorials%2Freana-cern-open-data-tutorial)\n- [Parallel Workflows](https://hsf-training.github.io/hsf-training-reana-webpage/06-developing-parallel-workflows/index.html)\n\n## Useful links\n\n- [REANA home page](http://www.reana.io/)\n- [REANA documentation](http://docs.reana.io/)\n- [REANA on DockerHub](https://hub.docker.com/u/reanahub/)\n- [HSF Training](https://hsf-training.github.io/hsf-training-reana-webpage/)\n- [Git Basics](https://gitlab-p4n.aip.de/p4nreana/tutorial2023/-/tree/main/useful_docs/git?ref_type=heads)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnim%2Fp4nreana-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnim%2Fp4nreana-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnim%2Fp4nreana-tutorials/lists"}