# Export FinnGen IDs using CO

Cohort Operations provides the simplest way to export FinnGen IDs. All features of cohorts uploaded to the Cohort Operation tool can then be exported by the tool itself. With CO, we can easily export [Atlas cohorts](/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/how-to-define-a-cohort-in-atlas.md) as well as any other cohort [loaded on CO](/working-in-the-sandbox/which-tools-are-available/cohort-operations-tool-co/upload-cohorts-to-co.md) or [modified using CO](/working-in-the-sandbox/which-tools-are-available/cohort-operations-tool-co/combine-cohorts-with-co.md).

The Cohort Operations tool works well together with the Trajectory Visualization tool. Cohorts exported as a text file from CO can be [uploaded directly to the TVT](/working-in-the-sandbox/which-tools-are-available/trajectory-visualization-tool-tvt/trajectory-visualization-tool-tvt.md).

### Downloading a cohort from CO

First, [upload your cohort(s) into the Cohort Operation tool](/working-in-the-sandbox/which-tools-are-available/cohort-operations-tool-co/upload-cohorts-to-co.md). Then, select the cohort you'd like to export (1) and click `Download selected cohorts` (2).

![](/files/OIgOdQOtPFIP0DClccpU)

A Firefox pop-up will prompt you to save the file. If this window doesn't pop up, don't fret - you likely checked "Do this automatically for files like this from now on" during a previous download, and the file will still save to your home directory.

![](/files/VYxlXBOOB5nrCsoAexAI)

The output file is a tab-separated file, containing the following columns:

```
COHORT_SOURCE = as.character(NA),
    COHORT_NAME = as.character(NA),
    FINNGENID = as.character(NA),
    COHORT_START_DATE = lubridate::as_date(NA),
    COHORT_END_DATE = lubridate::as_date(NA),
    SEX = as.character(NA),
    BIRTH_DATE = lubridate::as_date(NA),
    DEATH_DATE = lubridate::as_date(NA)
```

Therefore, if you're only interested in the FinnGen IDs of your cohort, simply save the third column in the software of your choice.

See also a tutorial video about CO available from [FinnGen data users meeting 25th Jan 2022](https://www.finngen.fi/en/members/recordings/finngen-data-users-meeting-25th-jan-2022) recording at 16min35sec and [FinnGen data users' meeting 28th June 2022](https://www.finngen.fi/en/members/recordings/finngen-data-users-meeting-28th-june-2022) at 28min55sec.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finngen.fi/working-in-the-sandbox/which-tools-are-available/cohort-operations-tool-co/export-finngen-ids-using-co.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
