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-plot: legend sorted by natural order, other reliability improvements #286

Closed AlexTate closed 1 year ago

AlexTate commented 1 year ago

Scatter plot legends are now sorted by natural order while preserving the intended point layer order (groups with fewest points are plotted on top of the stack).

This PR also includes a number of reliability improvements:

Additionally, the sorted_natural() function in tiny.rna.util now accepts a key= parameter just like Python's sorted() does

Closes #285

taimontgomery commented 1 year ago

Tested successfully with ram1 data.

AlexTate commented 1 year ago

Exception handling in tiny-plot was also improved so that it is more useful during non-standalone runs.

For each worker exception:

At the conclusion of plotting:

Exception handling is also consistent regardless of sequential/multiprocessing or debug mode