Adding multithreading option for cutadapt and demultiplex sub commands#208
Adding multithreading option for cutadapt and demultiplex sub commands#208skchronicles wants to merge 3 commits intotomazc:masterfrom
Conversation
|
Hey @tomazc, I hope you are having a great day, and that you are staying safe in these strange times. Thank you for creating and maintaining this awesome tool! My team is using iCount in a pipeline we are developing. I am working with pretty high coverage samples so speed up the run time of the demultiplex and/or cutadapt sub command, I have added a new option to enable multithreading. This option is only added to the cutadapt command if the version of cutadapt in the user's path supports multithreading (i.e. version>=1.15). I was just wondering if you had time to look this over. Please let me know what you think. Thank you for your time, and have a wonderful day! Best regards, |
|
Hey @tomazc, I can confirm that everything works as expected. Here are some jobs I submitted with the new iCount cutadaptiCount demultiplexI also built a docker image for the tool if anyone else wants to use this latest version of the tool: |


cutadapt with multiple threads
About
Cutadapt versions greater than or equal to
1.15support multithreading, adding an option to run cutadapt in this mode.Changes
This option is only enabled if the version of cutadapt in the user's PATH is greater than or equal to
1.15. Under the hood, I am checking for compatibility with the minimum version of cutadapt that is supported against the version of cutadapt in the user's path. If the version of cutadapt that is install does not support the-joption, then it is not provided at command line (i.e. meaning it will run the same as before).Unit-tests were added to ensure everything is producing the expected outputs.