> For the complete documentation index, see [llms.txt](https://help.connected.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.connected.illumina.com/basespace/biosamples/biosample-workflow/add-analysis-workflows-to-existing-biosamples.md).

# Add Analysis Workflows to an Existing Biosample

You can use the biosample workflow file to add new analysis workflow instructions to existing biosamples.

1. Create a CSV file as follows. See [Biosample Workflow File Format](/basespace/files-used-by-basespace/biosample-workflow-files.md) for more information about the template file and field requirements.
   1. Download or open a biosample workflow template.
   2. For each biosample, enter the following required information.
   3. Biosample Name—The unique identifier for the source DNA.
   4. Default Project—The default project for storing analysis data.
   5. Analysis Workflow—The name of the analysis workflow.
   6. \[Optional] Enter additional analysis workflow parameters.
   7. Save the file.
2. From the biosamples master list, select the File drop-down arrow, point to Upload, and then select Biosample Workflow.
3. In the Upload a Biosample Workflow dialog, add your biosample workflow file.

{% hint style="info" %}
All template columns must be present in the biosample workflow file, but the Default Project cannot be changed using a biosample workflow. If the biosample does not exist in the specified project, BaseSpace Sequence Hub creates a new biosample in the project. For information about changing the default project for a biosample, see [Change Default Project](/basespace/biosamples/manage-biosamples.md#change-default-project).
{% endhint %}

BaseSpace Sequence Hub validates the file and identifies any errors.

* If there are errors in the file, correct the file and upload it again.
* If there are no errors, review the notifications and select Continue.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.connected.illumina.com/basespace/biosamples/biosample-workflow/add-analysis-workflows-to-existing-biosamples.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
