bailey-lab / MIPTools

A suite of computational tools used for molecular inversion probe design, data processing, and analysis.
https://miptools.readthedocs.io
MIT License
6 stars 9 forks source link

Wrangler: `--stitch-options` parsing #28

Closed arisp99 closed 2 years ago

arisp99 commented 2 years ago

In #26, we addressed the fact that arguments might contain spaces by parsing the strings to remove whitespace. Following the clarification of the documentation for the --stitch-options (-x) argument of wrangler (#27), it makes sense to do some additional string parsing to ensure the arguments are passed in the correct format. Namely, in order to feed in arguments, we must have a leading comma. We can use an if statement to check if a leading comma is present and if it is not, add it.