alignment_redundancy
Find the rows of an alignment that repeat another: each row's redundancy is its highest percent identity to a row at least as long (ungapped residues), and a row at or above the threshold is redundant, so filtering keeps the longest representative of each near-identical group. Jalview's definition: a gap matches anything and the pair is compared over the shorter row. Wire alignedSequences from align_sequences.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | last column compared, 1-based inclusive; 0 means the last column. Advanced. | |
| from | No | first column compared, 1-based inclusive. Advanced. | |
| rows | Yes | the ALIGNED rows, each {name, aligned}. Wire `alignedSequences` from align_sequences. | |
| _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. | |
| threshold | No | percent identity at or above which a row is redundant. In %. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kept | Yes | the names of the rows that survive the filter, in alignment order | |
| rows | Yes | every row's redundancy, {name, identity}, in alignment order | |
| summary | Yes | how many rows are redundant at the threshold, and which | |
| redundant | Yes | the redundant rows, each {name, identity}, most redundant first |