ksumngs / yavsap

Yet Another Viral Subspecies Analysis Pipeline
https://ksumngs.github.io/yavsap
MIT License
1 stars 1 forks source link

[Feature]: Conform to style guide #4

Closed MillironX closed 2 years ago

MillironX commented 2 years ago

Summary

Make all the code within the pipeline conform to the style guide at https://gist.github.com/MillironX/bd9606623b3ccfdfb72d77e2bd3dc213.

More Info

Context

Nextflow doesn't really have a style guide, and nf-core lint enforces rules about everything but code formatting. Coding style is important for readability and maintainability. See more at https://www.smashingmagazine.com/2012/10/why-coding-style-matters/.

Alternatives

Right now the style is pretty inconsistent. We could stick with that, but why bother.

Possible implementation

I wrote a rudimentary style guide at https://gist.github.com/MillironX/bd9606623b3ccfdfb72d77e2bd3dc213. I propose we follow it.