Comments (7)
Hi Jerry,
I will look into this tomorrow. Would it be possible to share the mzML file in question? With only a brief look at the traceback it seems that the script is looking for a spectrum that isn't present, which is... Curious.
from pythoms.
from pythoms.
Hi Jerry,
I think I understand now. The xlsx you were trying to use does not match the configuration of the mzML you had targetted (the script was expecting additional functions and modes which are not present in the single-function mzML you had targetted). I have renamed the excel file to hopefully clarify the confusion. I have also added another PySIR example xlsx which pairs with LY-2015-09-15.mzML.gz
.
Another feature of the mzML
class is reading gzipped files, so you do not need to unzip the mzML file.
from pythoms.
from pythoms.
from pythoms.
Hi Jerry,
Sorry the prompting is a legacy thing from how I used to execute scripts. If the script is "run" instead of executed in a Python interpreter the file paths specified in the script are ignored. Command line arguments should be supported, as you've found.
The plots are generated in the plots
sub-function of pyrsir
(line 95
of the script). You can tweak them as you see fit. It is a matplotlib
plot with subplots. I had found that I almost always did extra processing in excel after the fact and usually plotted from that data rather than the raw output of pyrsir
. This is why the output plot is so poorly laid out. For naming and interpreting within the pyrsir
function, all the data is contained within the sp
dictionary. That dictionary is composed of subdictionaries for each key provided in the excel file (the keys of sp
are the names defined).
from pythoms.
from pythoms.
Related Issues (8)
- I've got problem can't solve HOT 17
- redundant specification of charge raises error HOT 1
- Isotope patter overlay HOT 3
- Does isotope pattern overlay work on tandem mass spectrometric methods? E.g. neutral loss scan? HOT 3
- IsoSpecPy import error and Image Size Value Error HOT 10
- magic methods do not pass through instance settings
- Exception catching for locmax in tome_v02.py HOT 1
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 pythoms.