I tested the speed of the current master verson 76f536f7d23d4b369d167bde0111a62d0aabe63a against the dev version f79200f996f65be41bff0b94f535bc0a3cb36426, to make sure the refactoring of the dna-seq is not slowing down the code.
The test data is:
'rna_mouse_11|rnaseq|mouse|/srv/data/ghardingham/activity_dependence_nora|_1.sanfastq.gz|_2.sanfastq.gz|AM1,AM2'
The result shows that filter_sample_reads took almost the same time between the versions, suggesting that the refactoring is at least not slowing down the code, which is as expected.
I tested the speed of the current master verson 76f536f7d23d4b369d167bde0111a62d0aabe63a against the dev version f79200f996f65be41bff0b94f535bc0a3cb36426, to make sure the refactoring of the dna-seq is not slowing down the code.
The test data is: 'rna_mouse_11|rnaseq|mouse|/srv/data/ghardingham/activity_dependence_nora|_1.sanfastq.gz|_2.sanfastq.gz|AM1,AM2'
The result shows that filter_sample_reads took almost the same time between the versions, suggesting that the refactoring is at least not slowing down the code, which is as expected.