Skip to main content

Reports on Roihu

Start your own Reports agent on CSC’s Roihu supercomputer: what you need, the launch form, the session, your files and what it costs.

Reports is where an AI agent writes, runs and renders a report of your analysis. On omicsbase.utu.fi the agent runs on Roihu, the supercomputer of CSC (Finland’s centre for scientific computing). It runs as you, so nobody else can see your files. Besides R and Bioconductor, a session on Roihu can use about 300 bioinformatics tools from CSC, such as fastp, Kraken 2, MetaPhlAn, minimap2 and SPAdes, so it can start from raw sequencing reads. See Bioinformatics tools on Roihu.

No CSC account? Use your own computer instead.

What you need

Start a session

  1. Sign in at omicsbase.utu.fi. OmicsBase opens, with the sidebar on the left.

  2. Choose Reports in the sidebar. You see your reports and a New report button.

  3. Open a report. To make one, choose New report, type a Report name and choose Create report. The report opens, with a Notes tab and a Workspace tab at the top.

  4. Choose the Workspace tab. A form opens: Start a Reports session on Roihu.

  5. Fill in the form. Type your CSC project, keep the suggested CPU cores, Memory (GiB) and Time (hours), and paste your token into CSC access token. What each field means. All fields show values and no red messages.

  6. Choose Launch. A card shows what Roihu is doing. The first time in a project it says Preparing Reports for project_1234567 for about 5 minutes. Then Waiting for a Roihu node and Starting your agent. Keep the page open.

  7. Wait until the bar appears. A bar at the top says Roihu session running, with your project, cores and memory. Below it is your workspace: the agent, your files and the report preview. It may take a few seconds before the workspace responds.

  8. Choose an agent and add your model key. How. The agent is ready for your first request.

One session serves all your reports: start it once, then open any report’s Workspace tab.

When you are done, stop the session.

The form

All fields are required.

Field What to enter Allowed
CSC project Your project’s ID, such as project_1234567. Find it under Projects in MyCSC. Billing units are charged to this project. project_ and seven digits
CPU cores How many processors the agent and its R code use. Suggested: 2. 1 to 8
Memory (GiB) How much memory. Suggested: 8. Give more for big data, such as assemblies or large single-cell data. 2 to 64
Time (hours) How long the session may run. Suggested: 4. 1 to 36
CSC access token The token from MyCSC. The link Get a token from MyCSC under the field opens the page. Any token

More cores, memory and hours cost more of your project’s billing units; see What it costs.

The first launch in a project

The first time anyone in a project launches Reports, Roihu downloads the Reports software once, which takes about 5 minutes. After that, launches by you and your colleagues in that project start faster. A new version of OmicsBase downloads it once more.

Choose an agent and add your key

  1. In the workspace header, open the agent menu. Its tooltip says Agent: and the agent’s name.
  2. Under Switch Agent Engine, choose Default OpenHands, Codex Agent, Claude Code, Gemini CLI, Pi or OpenCode. Switching starts a new conversation with the agent.
  3. Model keys go in the agent’s own settings. Open the agent’s settings in the workspace and paste the key from your model provider.

The agent sends its requests from Roihu straight to your model provider, with your key. The models you use in notes do not apply here. Getting a key.

The session bar

While your session runs, the bar at the top says Roihu session running, then your project, cores and memory, and the end time once Roihu reports it, for example project_1234567 · 2 cores · 8 GiB · until 16:30. Stop session is on the right.

If you see This browser could not connect to your session., choose Try again.

Stop the session

  1. Choose Stop session in the bar.
  2. Confirm the question Stop your Reports session on Roihu? Your files stay in your project folder.

You see Your session was stopped. and the form again. Stop when you are done: your project pays only for the time the session runs.

When the time you chose runs out, the session stops by itself and you see Your session reached its time limit. Your files stay.

Bioinformatics tools on Roihu

A session on Roihu has R and Bioconductor, like a note. It can also use CSC’s collection of biology tools on Roihu: about 300 command-line programs. So the agent can start from raw sequencing reads (FASTQ files), not only from tables.

Some of the tools, by step:

Step Tools
Check read quality FastQC, MultiQC
Trim reads fastp, Trimmomatic, cutadapt
Align reads to a reference bwa, bwa-mem2, bowtie2, minimap2, HISAT2, STAR
Count RNA Salmon
Assemble genomes and transcripts SPAdes, MEGAHIT, Canu, Trinity, and QUAST, BUSCO and CheckM2 to check the result
Find genes Prodigal, Prokka
Annotate genes and proteins Prokka, InterProScan, eggNOG-mapper, DIAMOND, HMMER
Name the microbes in a sample Kraken 2, Bracken, MetaPhlAn
Profile what the microbes can do HUMAnN
Handle alignments and find variants samtools, bcftools, GATK, freebayes
Genome-wide association (GWAS) PLINK

CSC also keeps ready-made reference databases on Roihu, so you do not have to download them: Kraken 2 and MetaPhlAn databases, and databases for BLAST and DIAMOND. Kraken 2 and MetaPhlAn are set up to find their databases.

You do not install or switch on anything yourself. The agent loads a tool with module load when a step needs it, for example module load bio-apps/v202603 and then module load fastp/1.3.6. It loads only what the step needs, because some tools need a particular version of another tool. To use a tool, name it in your request:

The paired FASTQ files in data/reads are stool metagenomes. Trim them with fastp, classify the reads with Kraken 2 and estimate species abundances with Bracken. Then load the Bracken tables into a TreeSummarizedExperiment.

Big steps, such as assembly, need more memory; choose it in the form. The results, such as count tables and profiles, can also go into a note: upload them there and the note analyses them in R.

Every tool, with its versions and how to use it, is in CSC’s list of biology tools. Reports on your own computer does not have these tools.

Get ready with CSC

You do this once.

Get a CSC account

If you work at a Finnish university, university of applied sciences or research institute:

  1. Go to MyCSC, CSC’s website for accounts, and choose Create account.
  2. Choose Haka (universities and research institutes) or Virtu (government agencies), and sign in with your work account.
  3. Fill in the sign-up page, set your CSC password from the email CSC sends, and set up a login code app on your phone when asked.

No Haka or Virtu, for example if you work abroad? Ask the manager of your group’s CSC project to contact the CSC Service Desk. CSC’s guide: How to create a new CSC user account.

Join or create a CSC project

A CSC project is your group’s shared account at CSC: it holds the billing units that pay for your sessions. Its ID looks like project_1234567.

Join your group’s project

Ask your group’s project manager to add you in MyCSC, or to send you the project’s invitation link. CSC’s guide: How to add members to a project.

Create your own project

Staff of Finnish universities and state research institutes can create one: in MyCSC, choose Projects, then + New project, choose Academic, fill in the form, tick Roihu among the services and accept the terms. CSC’s guide: Creating a new project.

Turn on Roihu for yourself

The project manager turns Roihu on for the project. Then you accept it for yourself:

  1. In MyCSC, choose Projects and open the project.
  2. Under Services, choose Roihu. It has a bell symbol.
  3. Accept the terms of use.

CSC’s guide: Adding service access for a project.

Billing units

Billing units are CSC’s credits for computing time and storage. For academic research and teaching at Finnish universities and research institutes they are free: you pay no money, but your project needs credits left. You see how many your project has under Projects in MyCSC, in the project’s Resources, and ask for more under Resource Applications. If they run out, Roihu does not start new sessions. CSC’s guides: Billing and Applying for billing units.

Get a CSC access token

A token is a password that lasts 24 hours. It lets OmicsBase start, check and stop your session on Roihu, and nothing else.

  1. Open CSC’s token page. In the form, the link Get a token from MyCSC goes there too.
  2. Sign in with your CSC account.
  3. Copy the token and paste it into CSC access token.

Keep a token private, like a password: anyone who has it can use Roihu as you. If you think someone saw it, cancel it as CSC explains in Revoking a personal access token.

More detail

Your files stay in your CSC project on Roihu, in the project’s scratch folder (CSC’s fast working storage):

/scratch/project_1234567/omicsbase-reports/
├── images/                 the Reports software, shared by project members
└── users/<your-csc-username>/
    ├── projects/           your reports, one folder per report
    ├── home/               the agent's settings and conversations
    └── logs/               what the job printed, useful when something fails

Only you can read your own folder. Your reports, agent settings and conversations are still there next time.

To download or upload files without a session, use the file browser of the Roihu web interface at www.roihu.csc.fi.

CSC deletes files in scratch that nobody has opened or changed for 180 days (90 days in projects with 5 TiB of scratch or more), and warns at least a month before. Copy reports you want to keep somewhere safe. See CSC’s disk cleaning policy.

Your session uses billing units from the project you typed in the form, only while it runs. Waiting in the queue is free.

  • Each hour of a session costs 0.75 billing units per core or 0.375 per GiB of memory, whichever is larger. The suggested 2 cores and 8 GiB cost 3 units an hour; 8 cores and 64 GiB cost 24 an hour.
  • The first launch in a project also runs a short download job with 8 cores and 64 GiB: 24 units an hour, so about 2 units for its 5 minutes or so.
  • Files in scratch, including the shared Reports software, cost 6 units per TiB per hour.

CSC’s full rules: Roihu billing. Your model provider bills you separately for the agent’s use of your key.

Your token stops working after 24 hours. After that, OmicsBase can no longer check or stop your session, and it runs until the time you chose is up.

To stop it earlier:

  1. Open the Roihu web interface and sign in.
  2. Choose Jobs, then Active jobs.
  3. Delete the job named omicsbase-reports.

Red messages under the form

Message What to do
Enter a CSC project in the form project_1234567. Type the whole ID: project_ and seven digits.
Enter a whole number from 1 to 8. CPU cores must be a whole number from 1 to 8.
Enter a whole number from 2 to 64. Memory (GiB) must be a whole number from 2 to 64.
Enter a whole number from 1 to 36. Time (hours) must be a whole number from 1 to 36.
Paste your CSC access token. The token field is empty. Get a token.

Messages after Launch

Message What to do
Your CSC access token was not accepted. It may have expired; get a new one from MyCSC. Get a new token from the token page and paste all of it.
Your CSC account is not a member of project_1234567. Check the project in MyCSC. Check the ID for typos, or ask the project manager to add you.
Could not create … on Roihu. Check that project_1234567 has scratch space. Check that you have turned on Roihu and that the project has billing units left.
Roihu did not accept the job. Check the project and try again. Check that you have turned on Roihu and that the project has billing units left.
Roihu did not answer. Try again in a moment. Roihu did not respond. Try again later.
No free Reports slot right now. Try again later. OmicsBase cannot take another session just now. Try again later.
You already have a Reports session. Stop it first. You can run one session at a time, on Roihu or on your own computer. Stop the other one first.
Reports on Roihu is not set up on this server. This OmicsBase does not offer Roihu. Use your own computer.
Something went wrong. Try again in a moment. Try again. If it keeps happening, report it with the time.

Messages during or after a session

Message What to do
Preparing the Reports image failed; stop and try again. The download failed, often because of a short network problem. If there is no Stop session button: in the Roihu web interface, choose Jobs, then Active jobs, delete the waiting omicsbase-reports job, reload OmicsBase and choose Launch again.
Your session ended (out_of_memory). The session needed more memory. Launch again with more Memory (GiB).
Your session ended (…) with another reason Roihu ended the job, for example because a computer failed. Launch again; your files are still there. The logs/ folder in your files shows what happened.
Your session reached its time limit. Launch again, and choose more Time (hours) next time.
Your CSC access token has expired, so OmicsBase can no longer check or stop this session. The session runs until its time is up. To stop it earlier, see Sessions longer than 24 hours.
Your CSC access token has expired, so the job could not be cancelled from here. It ends at its time limit, or cancel it in the Roihu web interface. See Sessions longer than 24 hours.
This browser could not connect to your session. Choose Try again. If it keeps failing, reload the page; the session keeps running.
You have no Reports session on Roihu. The session has ended. Reload the page and launch a new one.
Checking your session does not go away Roihu has not reported the job yet. Wait a minute. If nothing changes, look under Active jobs in the Roihu web interface.

More questions: FAQ.