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: tutorial, project: refactor get-templates logic #272

Closed AlexTate closed 1 year ago

AlexTate commented 1 year ago

This PR adds an additional tutorial file to the START_HERE directory for tiny-count. The get-templates functionality has been consolidated so that it can be shared by both the tiny and tiny-count commands, and its logic has been updated so that existing template files in the CWD are not overwritten.

If a template file already exists, no files are copied and the user is instructed to rename or remove the specific conflicting files. I chose this route over simply appending a (#) to the filename because doing so might require that the user also update the corresponding entries in the Paths File, and this might lead to a poor user experience at the onset of use.

This PR also updates some unrelated unit tests

Closes #270

taimontgomery commented 1 year ago

Tested tiny-count --get-templates and read over tutorial.