---
name: "fastaq-add_indels"
section: "1"
platform: "linux"
package: "fastaq"
version: "3.17.0-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/fastaq-add_indels"
---

# fastaq-add\_indels(1)

Deletes or inserts bases at given position(s)

## NAME

fastaq\_add\_indels - Deletes or inserts bases at given position(s)

## DESCRIPTION

usage: fastaq\_add\_indels \[options\] \<infile\> \<outfile\>

Deletes or inserts bases at given position(s)

### positional arguments:

- infile

  Name of input file

- outfile

  Name of output file

### options:

- **-h**, **--help**

  show this help message and exit

- **-d** Name:start:bases, **--delete** Name:start:bases

  Delete the given bases from the given sequence. Format same as samtools view: name:start-end. This option can be used multiple times (once for each region to delete). Overlapping coords will be merged before deleting

- **--delete\_range** P,start,step

  Deletes bases starting at position P in each sequence of the input file. Deletes start + (n-1)\*step bases from sequence n.

- **-i** Name:start:bases, **--insert** Name:start:bases

  Insert a random string of bases at the given position. Format is name:position:number\_to\_add. Bases are added after the position. This option can be used multiple times

- **--insert\_range** P,start,step

  Inserts random bases starting after position P in each sequence of the input file. Inserts start + (n-1)\*step bases into sequence n.
