Workflow for the analysis of solar eclipse frequency at pre-calculated locations

digital-humanities-solar-eclipse-frequency/solar-eclipse-frequency

Author(s)
Rita Gautschy
version Version
1
last_modification Last updated
Sep 21, 2026
license License
CC-BY-4.0
galaxy-tags Tags
DaSCH
chronology
solar_eclipses
Astronomy
humanities

Features
Tutorial
hands_on Analysing Solar Eclipse Frequency with a Galaxy Workflow

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:
RO-Crate logo with flask Download Workflow RO-Crate Workflowhub cloud with gears logo View on WorkflowHub
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nSolar eclipse data .txt"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Parameter\nMagnitude threshold"];
  style 1 fill:#ded,stroke:#393,stroke-width:4px;
  2["ℹ️ Input Parameter\nNumber of eclipses"];
  style 2 fill:#ded,stroke:#393,stroke-width:4px;
  3["ℹ️ Input Parameter\nMaximum interval in years"];
  style 3 fill:#ded,stroke:#393,stroke-width:4px;
  4["Convert file format: .txt -> .tsv"];
  0 -->|output| 4;
  5["Compose text parameter value"];
  1 -->|output| 5;
  6["Text reformatting"];
  4 -->|out_file1| 6;
  7["Select eclipses above a threshold"];
  5 -->|out1| 7;
  6 -->|outfile| 7;
  8["Sort chronologically"];
  7 -->|out_file1| 8;
  9["Select groups of eclipses"];
  8 -->|out_file1| 9;
  2 -->|output| 9;
  3 -->|output| 9;
  10["Sort result"];
  9 -->|outfile| 10;
  11["Remove duplicates"];
  10 -->|out_file1| 11;
  12["Sort final list of results"];
  11 -->|outfile| 12;
  a7306d70-74fe-4764-a3e9-46a5b1d1b30e["Output\nfinal_solar_eclipse_results"];
  12 --> a7306d70-74fe-4764-a3e9-46a5b1d1b30e;
  style a7306d70-74fe-4764-a3e9-46a5b1d1b30e stroke:#2c3143,stroke-width:4px;

Inputs

Input Label
Input dataset Solar eclipse data (.txt)
Input parameter Magnitude threshold
Input parameter Number of eclipses
Input parameter Maximum interval in years

Outputs

From Output Label
sort1 Sort Sort final list of results

Tools

Tool Links
Convert characters1
Filter1
sort1
toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_awk_tool/9.5+galaxy3 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_replace_in_line/9.5+galaxy3 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_sorted_uniq/9.5+galaxy3 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param/compose_text_param/0.1.1 View in ToolShed

To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.

Importing into Galaxy

Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!
Hands On: Importing a workflow
  1. Click on galaxy-workflows-activity Workflows in the Galaxy activity bar (on the left side of the screen, or in the top menu bar of older Galaxy instances). You will see a list of all your workflows
  2. Click on galaxy-upload Import at the top-right of the screen
  3. Provide your workflow
    • Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
    • Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
  4. Click the Import workflow button

Below is a short video demonstrating how to import a workflow from GitHub using this procedure:

Video: Importing a workflow from URL

Version History

Version Commit Time Comments
2 7bbf2dd58 2026-08-20 07:53:31 Update workflow
1 20bf28ea7 2026-08-12 06:23:21 Add solar eclipse frequency tutorial

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/digital-humanities/tutorials/solar-eclipse-frequency/workflows/solar-eclipse-frequency.ga -O workflow.ga
workflow-to-tools -w workflow.ga -o tools.yaml
shed-tools install -g GALAXY -a API_KEY -t tools.yaml
workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows