Closed leahvschaffer closed 6 years ago
***need to unparallelize shuffled_proteins loop for taking hunks off of giantprotein
Why does it need to be unparallelized? Isn't substring thread-safe?
If you want the decoy database to be the same each time with the seed
I don't see it; the Random object used for shuffling before that loop is seeded. Isn't the only issue here setting the decoy TheoreticalProteoform objects to have the correct sequence, so that the heuristics using that sequence are correct.
Totally on board! Thanks for explaining. prevLength
isn't thread-safe!
Fixed in #424
Currently, decoy proteoform sequences being set to corresponding theoretical's actual protein sequence