Skip to content

Submitting to TES

Matt McLoughlin edited this page Oct 22, 2024 · 3 revisions

Highlighted TES Examples

This page highlights examples from the GA4GH-TES repository, demonstrating how to interact with the Task Execution Service (TES) using different methods and tools.

1. TES with cURL

  • Description: This example shows how to interact with the TES API using cURL, a command-line tool for transferring data. It provides simple cURL commands to submit tasks, check statuses, and retrieve logs using the TES REST API.
  • Link: TES with cURL - README
  • Key Features:
    • Submitting tasks to TES using cURL commands.
    • Retrieving task statuses and logs.
    • Easy to use for quick testing and manual task submissions.

2. TES with Python (py-tes)

  • Description: This example utilizes the py-tes library, a Python client for the TES API. It demonstrates how to create and submit tasks, check the status, and retrieve logs using Python code. The Python library simplifies interaction with TES by providing high-level methods for task operations.
  • Link: TES with Python (py-tes) - README
  • Key Features:
    • Using the py-tes library to submit tasks programmatically.
    • Python-based task creation and status checking.
    • Best suited for those looking to automate TES tasks with Python scripts.

3. TES with Nextflow

  • Description: This example integrates TES with Nextflow, a workflow orchestration tool widely used in bioinformatics. It demonstrates how Nextflow workflows can be configured to run tasks on a TES-compliant server, allowing users to take advantage of TES for scalable, distributed task execution.
  • Link: TES with Nextflow - README
  • Key Features:
    • Integration of Nextflow workflows with TES for distributed execution.
    • Ideal for complex, multi-step workflows in scientific computing.
    • Enables execution of containerized tasks through TES.

4. TES with C# (TES SDK)

  • Description: This example demonstrates how to use the TES SDK for C# to interact with the TES API. It showcases how to submit and manage tasks, including downloading outputs to Azure Blob Storage. This example is designed for developers familiar with C# and Azure.
  • Link: TES with C# - README
  • Key Features:
    • Using TES SDK for C# to submit tasks.
    • Azure Blob Storage integration for handling task outputs.
    • Suitable for developers working in .NET environments.

Why These Examples?

These examples highlight the versatility of TES and the variety of ways it can be used across different tools and workflows:

  • cURL: For manual, quick interactions with TES APIs, ideal for testing and learning.
  • Python (py-tes): For developers automating task submissions in Python scripts.
  • Nextflow: For large-scale, complex workflows requiring distributed execution in scientific or data-intensive environments.
  • C# (TES SDK): For developers in .NET ecosystems, focusing on automating and managing tasks in TES with Azure integration.

Explore these examples to get started with TES and find the method that best suits your use case!

To search, expand the Pages section above.

Home

Release Notes and Announcements
Getting Started
FAQ and Troubleshooting
Submitting tasks to TES on Azure
Clone this wiki locally