Comments (3)
Could you please provide the output of your sessionInfo
? In the devel branch of xcms
we switched from the old parallel processing setup (which was quite cumbersome in xcms
) to BiocParallel
, i.e. BiocParallel
takes care of the correct parallel processing setup (whether snow
Rmpi
or parallel
are used) which can be configured system-wide.
If you're using the release branch you might still be with the old setup. Eventually you're lacking one of the required packages for parallel processing. Try installing snow
, parallel
, Rmpi
on your windows machine. I can't remember which one, but only one of those works on Windows, so don't be surprised if not all are available or can be installed:
library(BiocInstaller)
biocLite(c("snow", "parallel", "Rmpi"))
from xcms.
sessionInfo() revealed that "parallel" was already attached; as you said, apparently it is not effective for XCMS.
I did find that adding
library("snow")
to my script did result in parallel processing, e.g.,
Starting snow cluster with 12 sockets
Detecting features in file # 1: foo.mzXML
Detecting features in file # 2: bar.mzXML
etc.
Page 81 of the package manual
http://bioconductor.org/packages/release/bioc/manuals/xcms/man/xcms.pdf
documents nSlaves as
nSlaves - number of slaves/cores to be used for parallel peak detection. MPI is used if installed, otherwise the snow package is employed for multicore support. If none of the two packages is available it uses the parallel package for parallel processing on multiple CPUs of the current machine.
Perhaps this could be very slightly more explicit for the naive user, e.g.:
nSlaves - number of slaves/cores to be used for parallel peak detection.
Requires at least one of the additional libraries: Rmpi, snow, parallel.
If several are loaded, the order of preference is: Rmpi > snow > parallel.
Thank you very much for your quick response!
from xcms.
Thanks for your suggestion. Note however that the use of nSlaves
is deprecated in the next release. As noted above we'll switch to BiocParallel
for parallel processing; I'll try to enhance the documentation and eventually add a specific section to the vignette.
from xcms.
Related Issues (20)
- Centwave error with converted .wiff files. HOT 1
- Error Invalid cvParam accession "1003293" HOT 1
- Handling multtest dependency (BioC build error) HOT 3
- Two overlapping peaks with the same m/z detected as one HOT 2
- Does minSamples override minFraction when grouping? HOT 2
- ERROR: Dimensions of profile matrices do not match ! HOT 1
- Why does fill peaks with XCMSnExp object result in considerably less features than fill peaks with XCMSset? HOT 6
- How are features obtained if you donβt specify any class information for grouping? HOT 1
- Add XCMS object as data to EDAM Ontology HOT 4
- Introduce a changelog HOT 1
- combineSpectra of a feature HOT 3
- xcmsRaw - error HOT 6
- return EIC with peak detection output HOT 1
- Polarity cannot be extracted HOT 3
- Error in writeMSData HOT 1
- Need all chromatograms in particular sample HOT 1
- Build error invalid class "MsBackendMzR" object: slots not in object: "peaksVariables" HOT 2
- Build failure on arm/Linux HOT 2
- Properly serialize an xcms result object to disk/files HOT 21
- do_findChromPeaks_centWave returns wrong maxo and int* values HOT 3
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 xcms.