Comments (6)
Hi Vicki,
Thanks for your question. It is a lot of code to get through, but hopefully it will start to make sense. That gets set in the GUniDec.py file under the UniDecApp.on_open_file (liness 147-149).
if self.eng.config.batchflag != 1:
self.view.controls.ctlminmz.SetValue(str(np.amin(self.eng.data.data2[:, 0])))
self.view.controls.ctlmaxmz.SetValue(str(np.amax(self.eng.data.data2[:, 0])))
Let me know if you have any questions. Thanks, MTM
from unidec.
Hi Michael,
I have read your reply and thanks for your answer. I may not made my question clearly, but what I want to ask is how do you determine the m/z range when processing raw data. In other words, how do you determine the parameter(config) in this function( in the unidec_modules/unidectools.py file (liness 1347-1348)).
For example, I run UniDec with example data (AHC) you provided. The m/z of the raw data ranges from 984.94-20213.60, while the m/z of the processed data ranges from 3226.42-17642.90. How does it work without knowing the molecular formula.
I need to reproduce the basic function of the UniDec. So I need to understand the code deeply even some details. I have finished the unidec_modules/unidectools.py including the processing data, UniDec functions and peak shape tools. I think it's enough for me at the begining, but it's just my thought. The biggest problem I had was that I couldn't find the Settings for the parameter-config in the code. I cannot understand how to get information of config from row data.
Tanks for your help,
Vicki
from unidec.
Hi Vicki,
The config is defined in the unidecstructure.py file and is one of the central classes of the code. It gets passed to most functions and modified by some. The config gets saved as a _conf.dat file in the unidecfiles folder and loaded each time you load a file. I think that is what you are seeing. The m/z range was set by me or another user, and it is reloading the narrower range from the previous parameters. There are also functions called import_config and export_config (see unidec_presbase.py) that load these into and out of the GUI. Out of curiosity, what project are you working on where you need to reproduce the basic functions? Thanks, MTM
from unidec.
Hi Michael,
I get your point, and try to change the m/z range in the UniDec. Could you explain how you set the default m/z rang? By some fomula or just experience?
I find a new problem...I use .raw file in my lab to test UniDec, but it's failed. UniDec cannnot open it.
I am a postgraduate student in Tsinghua University and my research area is MS signal processing. In older to understand MS deconvolution deeply and learn python, I try to reproduce some functions.
Thanks for your help,
Vicki
from unidec.
Hi Vicki,
The default m/z range is the whole spectrum, but the users can then narrow it from there to remove parts of the spectrum without significant peaks or to focus in on a particular region. The example data has been narrowed already by me to remove some extra data points that aren't needed. I usually just do it by experience.
For the other issue, have you tried running it as an administrator? You will also need to install the MSFileReader from Thermo before you run it as an administrator. It needs to find the right files from the Thermo package, and it needs administrative access for that.
Good luck! Thanks, MTM
from unidec.
Hi Michael,
I get your point!
Thanks,
Vicki
from unidec.
Related Issues (20)
- Bug in Cube Plots HOT 1
- v3.1.0 won't open HOT 1
- pdf generation resulted in fatal error if file name contain . HOT 2
- Import of mzML files for "Using MetaUniDec to Analyze Chromatograms" not working HOT 3
- mzML files and Linux HOT 2
- Exporting Waterfall Plot from Meta UniDec 4.2 HOT 2
- Converting data recorded with bunching factor to txt HOT 7
- RNA or DNA deconvolution HOT 1
- Scale problem HOT 2
- trying to create txt input HOT 5
- Could not import data reader: unidectools HOT 1
- Suggestion for MetaUniDec to skip bad runs HOT 2
- error with opening .raw files HOT 5
- Error 3e+09 HOT 7
- Unable To Make TIC Selection HOT 2
- Unable to output the DScore for each deconvoluted mass HOT 2
- Error/bug appears using export_params() and autorun() on docker container HOT 6
- mzML files won't open - error HOT 1
- Use command line to process the entire process HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unidec.