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. It REFUSES unless something says the two are in the same coordinate space: if the file names a genome build and the record names the same one it proceeds; if they name different ones it refuses outright; if either is silent it refuses until you pass coordinates_only, which states that you are applying the intervals as positions in this record's own numbering with no genome correspondence checked. Reports what would not fit rather than trimming it.
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 |