> For the complete documentation index, see [llms.txt](https://documentation.dnanexus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash.md).

# Bash

- [Bash Helpers](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/bash-helpers.md): Learn to build an applet that performs a basic SAMtools count with the aid of bash helper variables.
- [Distributed by Chr (sh)](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/distributed-by-chr-sh.md)
- [Distributed by Region (sh)](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/distributed-by-region-sh.md)
- [SAMtools count](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/samtools-count.md)
- [TensorBoard Example Web App](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/tensorboard-example-web-app.md)
- [Git Dependency](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/git-dependency.md)
- [Mkfifo and dx cat](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/mkfifo-and-dx-cat.md)
- [Parallel by Chromosome (sh)](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/parallel-by-region-sh.md): This applet performs a basic SAMtools count on a series of sliced (by canonical chromosome) BAM files in parallel using wait (Ubuntu 14.04+).
- [Parallel xargs by Chr](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/parallel-xargs-by-chr.md): This applet slices a BAM file by canonical chromosome then performs a parallelized samtools view -c using xargs. Type man xargs for general usage information.
- [Precompiled Binary](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/precompiled-binary.md): This tutorial showcases packaging a precompiled binary in the resources/ directory of an app(let).
- [R Shiny Example Web App](https://documentation.dnanexus.com/getting-started/developer-tutorials/bash/r-shiny-example-web-app.md): This is an example web applet that shows how to build and run an R Shiny application on DNAnexus.


---

# 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://documentation.dnanexus.com/getting-started/developer-tutorials/bash.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.
