Closed sdrogers closed 4 years ago
Part 1: Noise
DataGenerator.py
Part 2: Chemical Generation
Let's say there are 500 chems from HDMB. We want to generate them for simulation, and assign each chemical a unique spectra from mgf files. How do we do that? Right now it doesn't seem straightforward at all.
@joewandy
As part of the refactoring, this if
should disappear:
https://github.com/sdrogers/vimms/blob/3167584fc13d6338f6c8d7f7608c4c62f70a9540/vimms/MassSpec.py#L520-L523
a single method call here leaving the noise choice to whatever noise class (your new class) the user provides
@joewandy Can we close this now?
No, have not done the part to improve chemical generation yet.
Done by simon in issue #98
In the use case of creating a top-N file from an existing mzML (full scan), we don't necessarily need a pickle of MS2 and timing info although we have to provide one. Can we make the system cope without one if not provided? Timings would then have to be provided, and MS2 could be generated using other methods, or left empty if, say, the user is only interested in coverage.