> For the complete documentation index, see [llms.txt](https://manual.microbial-genomes.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.microbial-genomes.org/part6.md).

# Part VI: Workflows

CLI Workflows automate common tasks in MiGA. Currently implemented workflows include:

1. [Quality](/part6/quality_wf.md)
2. [Dereplicate](/part6/derep_wf.md)
3. [Classify](/part6/classify_wf.md)
4. [Preprocess](/part6/preproc_wf.md)
5. [Index](/part6/index_wf.md)

## Using multiple workflows

It is possible to concatenate workflows in the same project. First, run the first workflow as described in the documentation. For example:

```bash
miga quality_wf -o my_project /path/to/genomes/*.fna
```

Next, execute any additional steps *without* specifying the input files, and using the same output directory. For example:

```bash
miga classify_wf -o my_project
miga rerep_wf -o my_project
```

In the examples above, input genomes will be processed to evaluate quality, next they'll be classified, and finally they'll be dereplicated.


---

# 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 dynamically by asking a question.

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

```
GET https://manual.microbial-genomes.org/part6.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.
