Skip to content

Project

The "project" transform retains the specified fields of the data objects, optionally renaming them. All other fields are removed.

Parameters

as

Type: array

New names for the projected fields. If omitted, the names of the source fields are used.

fields Required

Type: array

The fields to be projected.

Example

{
  "type": "project",
  "fields": ["lane", "start", "exons"]
}