get_coverage
Compute read depth over a genomic interval from indexed BAM or CRAM files, excluding unmapped, secondary, QC-fail, and duplicate reads by default.
Instructions
Read depth over an interval from indexed BAM/CRAM (default excludes UNMAP, SECONDARY, QCFAIL, DUP, like samtools depth). Available for: bam, cram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| bin_size | No | ||
| interval | Yes | ||
| reference | No | ||
| max_records | No | Lower the record limit. | |
| exclude_flags | No | ||
| min_base_quality | No | ||
| min_mapping_quality | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Set when status is error. | |
| errors | No | Per-source failures in partial results. | |
| limits | No | ||
| status | Yes | ||
| warnings | No | ||
| operation | Yes | ||
| provenance | No | ||
| truncation | No | ||
| source_status | No | ||
| schema_version | No | 1 | |
| metadata_omitted | No | Entries dropped from provenance/source_status/errors/warnings (or text shortened) to fit max_response_bytes. Absent when metadata is complete. |