-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Having used CoPTR for a little bit and looked through the source code briefly, I had a few ideas for changes:
-
I had a need for building a large index which required me to pass the option to bowtie2. This gave me the idea: What if instead of creating explicit options on coptr that are passed to bowtie2, the argument parsing is changed such that all options after
--are directly given to bowtie2? Or alternatively, all unrecognized options could be passed to bowtie2 if there are no conflicting option names. I think that's more flexible and future proof. So something like:coptr map index fastq output -- --threads 10 --mm --seed 1234
-
Your print functions somewhat re-invent logging levels. It should be quite easy to replace them.
-
I saw that you use subprocess calls to
rmto delete files. Using os.remove would make that platform independent.
Let me know if any of those proposals sound good to you and I can create PRs for them.