MontgomeryLab / tinyRNA

tinyRNA provides an all-in-one solution for precision analysis of sRNA-seq data. At the core of tinyRNA is a highly flexible counting utility, tiny-count, that allows for hierarchical assignment of reads to features based on positional information, extent of feature overlap, 5’ nucleotide, length, and strandedness.
GNU General Public License v3.0
1 stars 1 forks source link

tiny-count: shift parameters for overlap selectors #280

Closed AlexTate closed 1 year ago

AlexTate commented 1 year ago

Overlap selector definitions have been extended to optionally accept 2 numerical parameters that shift the 5' and 3' ends of matching feature intervals. Alignments are then evaluated using this shifted interval in Stage 2 selection. They have the following syntax:

selector, M, N
  M = shift value for 5' end
  N = shift value for 3' end

Shifting might produce an illegal interval. When this happens, the offending match (the feature-rule pair) is omitted from Stage 2 and 3 selection, but the feature's other matches remain. Illegal intervals include:

Closes #278

taimontgomery commented 1 year ago

Tested with zswim8 and ram1 data. Needs more extensive testing once the next round of updates to feature selections are implemented.