---
name: "gffutils-cli-parents"
section: "1"
platform: "linux"
package: "python3-gffutils"
version: "0.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gffutils-cli-parents"
---

# gffutils-cli-parents(1)

Fetch parents from the database according to ID

## NAME

gffutils-cli\_parents - Fetch parents from the database according to ID

## DESCRIPTION

usage: gffutils-cli parents \[-h\] \[-l LIMIT\] \[--exclude EXCLUDE\]

- \[--exclude-self\]

  db \[ids\]

Fetch parents from the database according to ID.

### positional arguments:

- db

  Database to use. If a GFF or GTF file is provided instead for this argument, a database will be created for you. This can take some time (several minutes), so it's best to create one ahead of time.

- ids

  Comma-separated list of IDs. These IDs, along with their parents, will be returned (subject to **--limit** and **--exclude**). If none provided, use all exons in the database (default: -)

### options:

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

  show this help message and exit

- **-l**, **--limit** LIMIT

  Feature type (string), or level (integer). No parents below this level will be returned (default: -)

- **--exclude** EXCLUDE

  Comma-separated list of featuretypes to filter out (like grep **-v**) (default: -)

- **--exclude-self**

  Use this to suppress reporting the IDs you've provided. (default: False)
