Closed HinTak closed 6 years ago
FYI, dev version of Bioconductor ships mzR_2.10.0 .
This seems to be some sort of confusion - mz5 support was removed in May 26 18:28:05 2014, added back in Jun 25 22:13:35 2014, and removed again in July 11 2014.
I am not sure why I was removed - the only guess I can make is that it requires the cpp version of hdf5, which is a rare library to install. Anway, I seem to have come up with about half-a-dozen lines of code change which works:
> library(mzR)
Loading required package: Rcpp
> msA0 <- openMSfile("group_A/sample_A0.mz5", backend="pwiz")
> msA0
Mass Spectrometry file handle.
Filename: sample_A0.mz5
Number of scans: 5416
> summary(msA0)
Length Class Mode
5416 mzRpwiz S4
> colnames(header(msA0))
[1] "seqNum" "acquisitionNum"
[3] "msLevel" "polarity"
[5] "peaksCount" "totIonCurrent"
[7] "retentionTime" "basePeakMZ"
[9] "basePeakIntensity" "collisionEnergy"
[11] "ionisationEnergy" "lowMZ"
[13] "highMZ" "precursorScanNum"
[15] "precursorMZ" "precursorCharge"
[17] "precursorIntensity" "mergedScan"
[19] "mergedResultScanNum" "mergedResultStartScanNum"
[21] "mergedResultEndScanNum" "injectionTime"
>
So I write a proper log entry and issue a pull.
The travis-ci server does not have hdf5_cpp headers. One way of improving it is to make the configure script auto-detect.
Why is the issue closed? There is at least the issue of properly documenting the lack of mz5 support, even if the current state is considered "acceptable".
Some of the online documentation of mzR (version 2.6.2?) claims that mzR support mz5 . I am using the development version of R and therefore the development version of bioconductor. Found that it is not working:
Found that you explicitlly disable MZ5 support in
src/Makevars
:So I traced the origin of that line backwards, and apparently it was done over two years ago as part of GSoC:
Why is that?
In any case, I think if you remove a past useful feature you probably should mention it in the top level README.