Triggering nextflow pipeline using API call

Hi all, I’m new to Nextflow. I’d like to explore how to host a Nextflow pipeline, trigger it using API calls, retrieve the results, and display them on a frontend.

Hi @Fury_Gaming,

There are many ways to do this, but the obvious one is to use Seqera Platform. The entire platform can be used via its API, which in turn can control and report on your Nextflow runs:

If you have any more specifics about your setup or how you’d like it to work, I’d be happy to offer some suggestions.

Phil

I’m concerned that sharing a Git link to my pipeline could expose my code and potentially lead to security risks. I’d like to understand the implications of this and how to safeguard my pipeline appropriately.

I’m concerned that sharing a Git link to my pipeline could expose my code and potentially lead to security risks. I’d like to understand the implications of this and how to safeguard my pipeline appropriately.

If your code is stored in a private Git repository and access is granted only to the necessary services or collaborators, it should be as secure as possible. It is important not to include sensitive information, such as passwords or patient data, in your codebase. This ensures such data is never committed to the repository and significantly reduces the risk of exposure. Private repositories are free on GitHub, and if your organization uses a paid Git hosting service or hosts its own, those platforms also support secure code management.

While tools like Git can seem intimidating at first, they are widely used across the software industry to manage even the most secure codebases. I assure you it is safe when used properly and is a highly valuable skill to develop.

Regarding the Seqera Platform mentioned by @ewels, it pulls specific metadata from your Git repository, but the actual reading and execution of your full codebase happens only on your own computing infrastructure. This makes it more secure by design.