apply_feature_file
Put the features from a GTF in this project onto the open record. A GTF lists features and their positions and carries no sequence, so this is how one reaches a molecule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | the annotation file in this project, by name. Unset with exactly one present uses it; with several, this refuses and names them rather than picking. | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| sequence | No | the seqid within the file whose features to apply (a GTF names one per row). Unset with exactly one present uses it; with several, this refuses and names them — applying the wrong chromosome's intervals is the mistake this parameter exists to prevent. | |
| coordinates_only | No | state that you are applying the intervals as COORDINATES — positions in this record’s own numbering — with no genome correspondence checked. Applying coordinates on that basis is a claim about your own data, and the run records it as the basis it used. Required whenever either side is silent about its assembly; it cannot rescue two assemblies that disagree. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | how many features were written — branch on this rather than counting | |
| basis | Yes | what earned the apply: 'matched' when both assemblies agreed, 'coordinate-space-only' when you stated it. A run's provenance, not a status | |
| record | Yes | the open record with the applied features added | |
| duplicate | Yes | how many were already on the record at the same span, strand and type, so they were not written twice | |
| outOfRange | Yes | the features whose spans run past the end of the record, each with the end it really has. Reported, never trimmed: a span cut to fit is a different feature |