-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not properly reading fdata on some MRM samples #486
Comments
For this I have to dig a little deeper into the respective (C++) code in the |
So, > head(mzR::chromatogramHeader(fd))
chromatogramId chromatogramIndex
1 TIC 1
2 SRM SIC Q1=300 Q3=263.996 start=2.006183333 end=6.496216667 2
3 SRM SIC Q1=300 Q3=281.996 start=2.006183333 end=6.496216667 3
4 SRM SIC Q1=380 Q3=263.996 start=2.002616667 end=6.492633333 4
5 SRM SIC Q1=380 Q3=263.996 start=2.0044 end=6.494416667 5
6 SRM SIC Q1=380 Q3=263.996 start=2.005283333 end=6.495316667 6
polarity precursorIsolationWindowTargetMZ precursorIsolationWindowLowerOffset
1 -1 NA NA
2 1 300 NA
3 1 300 NA
4 1 380 NA
5 1 380 NA
6 1 380 NA
precursorIsolationWindowUpperOffset precursorCollisionEnergy
1 NA NA
2 NA 15
3 NA 15
4 NA 15
5 NA 7
6 NA 25
productIsolationWindowTargetMZ productIsolationWindowLowerOffset
1 NA NA
2 263.996 NA
3 281.996 NA
4 263.996 NA
5 263.996 NA
6 263.996 NA
productIsolationWindowUpperOffset
1 NA
2 NA
3 NA
4 NA
5 NA
6 NA So, the problem is in fact in |
- Consider also the precursor collision energy in the generation of unique identifiers for each chromatogram across input files (fixes issue #486). - Update relevant documentation.
something related with the warning that appears when you create the
|
Thank you very much @jorainer, this definitely solves my problem. Just to contribute with something, I raise a rare case that could continue to give error. If someone made different SRMs with identical metadata (Q1,Q3, Pol and CE) but with different time ranges (very unusual I guess), the |
The main reason was that 1) I wanted to build the identifier based on the variables that are returned for the chromatograms. The start and stop time is not (yet?) reported by Note: these identifiers are actually only used to match SRMs across mzML files. For your problem: you could either install the current developmental Bioconductor version (by calling |
Thanks for your detailed answer. No, it seems hardly possible in practice to have such working conditions. And I see your point, identifier is just an id, not a feature source. |
Thanks for the feedback! Any suggestions (or even better, contributions :) ) are highly welcome! |
It works perfectly. Same Q1,Q3, polarity + different CE => Different chromatogramId & different characteristics. Thanks so much for your help & consideration, If I have any suggestion (or contribution !!) I'll let you know
|
Hello,
I am reading a mzML file (attached: 27076.1.zip) with MSnBase acquired by MRM from QqQ samples. There are some chromatograms with identical polarity, precursor and product m/z values on it, but with different collision energies
I cannot read their feature Data correctly. fData() returns the data from the first chromatogram repeated three times, so I'm not able to know the fData from the others chromatograms (I need their collision energy, specifically)
Thanks in advance
The text was updated successfully, but these errors were encountered: