Skip to content

Latest commit

 

History

History
103 lines (67 loc) · 3.27 KB

File metadata and controls

103 lines (67 loc) · 3.27 KB

🎟️ nf-raffle

This repository contains code for the nf-raffle pipeline, which is used for managing raffles at events attended or sponsored by Seqera.

Description

nf-raffle is a Nextflow pipeline designed to streamline the process of entering raffles at various events. It provides a simple and efficient way to collect participant information and enter them into event-specific raffles.

Supported Events

Currently, the pipeline supports the following events:

  • FOG 2026 [--event fog_2026] (default)
  • ISMB/BOSC 2026 [--event ismb_bosc_2026] (requires --first_name, --last_name, and --affiliation)

How to Run

There are two ways to run the raffle:

  • From Seqera Platform at the booth. Come talk to us!
  • From the Nextflow command line on your laptop (see below)

Overview

The nf-raffle pipeline guides you through an interactive raffle entry process where you'll provide your contact information and be entered into the event raffle. The pipeline uses Nextflow and integrates with Seqera Platform for enhanced functionality.

If you are already familiar with Nextflow, you can enter the raffle the following way:

  1. Ensure you have a Seqera Platform access token set as TOWER_ACCESS_TOKEN in your environment.
  2. Run the Nextflow pipeline seqeralabs/nf-raffle
  3. (Optional) Add --event [event_name] to specify one of the supported events (defaults to fog_2026 if not specified).

Below are detailed instructions for new users.

Step 1: Install Nextflow

First, ensure you have Java 11 or later installed, then install Nextflow:

# Install Nextflow
curl -s https://get.nextflow.io | bash

# Make it executable and move to your PATH
chmod +x nextflow
sudo mv nextflow /usr/local/bin/

Verify the installation:

nextflow -version

You should see something like this:

>  nextflow -version                                                      

      N E X T F L O W
      version 25.04.6 build 5954
      created 01-07-2025 11:27 UTC (12:27 BST)
      cite doi:10.1038/nbt.3820
      http://nextflow.io

Step 2: Create a Seqera Platform Account

  1. Visit https://cloud.seqera.io
  2. Sign up for a free account or sign in with your existing credentials
  3. Complete the account verification process

Step 3: Generate an Access Token

  1. Navigate to Your profileAccess tokens in the Seqera Platform
  2. Click New token
  3. Provide a name for your token (e.g., "nf-raffle-token")
  4. Click Create and copy the generated token

Step 4: Set Environment Variable

Set your access token as an environment variable:

export TOWER_ACCESS_TOKEN=your_token_here

Step 5: Run the Pipeline

nextflow run seqeralabs/nf-raffle --email EMAIL --event EVENT -with-tower 

Add --event [event_name] to specify one of the supported events (defaults to fog_2026 if not specified).

Some events request additional details. ISMB/BOSC 2026 requires your first and last name, and your organization:

nextflow run seqeralabs/nf-raffle --email EMAIL --event ismb_bosc_2026 \
  --first_name FIRST --last_name LAST --affiliation ORGANIZATION -with-tower