Comments (6)
Hi Kayhan,
I am not sure what to make out of "No such device" in this context. Is the .bed file in an unusual location (different file system, different host, ...)? What operating system are you running, and what is your version of R and Rcpp (packageVersion("Rcpp")
)?
Thanks,
Alex
from bgdata.
Hi Alex,
The version of R is 3.4.1 . The version of Rcpp is:
> packageVersion("Rcpp")
[1] ‘0.12.14’
and yes the files are in usual places:
-rw-r--r-- 1 batmangh mc560kp 76630 Aug 9 23:47 CG10kAaHg19Clean_v2_Mar2013.fam
-rw-r--r-- 1 batmangh mc560kp 19731078 Aug 9 23:47 CG10kAaHg19Clean_v2_Mar2013.bim
-rw-r--r-- 1 batmangh mc560kp 564562353 Aug 9 23:47 CG10kAaHg19Clean_v2_Mar2013.bed
> m = BEDMatrix('CG10kNhwHg19Clean_v2_Mar2013.bed')
Extracting number of samples and rownames from FAM file...
Extracting number of variants and colnames from BIM file...
Error in .local(.Object, ...) : No such device
the operating system:
[batmangh@br005 Genetics]$ uname -a
Linux br005.pvt.bridges.psc.edu 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
from bgdata.
Hi Kayhan,
thanks, I don't see anything unusual... Maybe your file system does not support memory mapping? Please check the Type
column of the df -T CG10kAaHg19Clean_v2_Mar2013.bed
output.
Thanks,
Alex
from bgdata.
Thanks Alex,
This is the output:
batmangh@br005 Genetics]$ df -T CG10kAaHg19Clean_v2_Mar2013.bed
Filesystem Type 1K-blocks Used Available Use% Mounted on
/pghbio fuse 2418185650176 1926487998336 491697651840 80% /pghbio
I don't know that it supports memory mapping or not. Please let me know.
Best,
Kayhan
from bgdata.
@agrueneberg yep, that was the file system issue. I moved the data to a different file system and it worked:
[batmangh@br005 ~]$ df -T CG10kAaHg19Clean_v2_Mar2013.bed
Filesystem Type 1K-blocks Used Available Use% Mounted on
br001.opa.bridges.psc.edu:/nfs/home nfs4 6440364032 4195274752 2245089280 66% /home
What file systems are compatible with the code? Obviously nfs4
is.
Thanks,
Kayhan
from bgdata.
Hi Kayhan,
what file systems are compatible is an excellent question. My impression was all of them, because I wasn't aware of this issue. You're probably running ZFS behind FUSE, and ZFS should work because we're using that too in combination with NFS. So I guess it has something to do with FUSE? Unfortunately, I don't know enough about those file systems and your system configuration to find an answer to this question, but maybe your sysadmins can give some guidance? All we're doing is basically mmap()
.
Cheers,
Alex
from bgdata.
Related Issues (20)
- getG.symDMatrix: Support minVar
- Try to improve error handling for mclapply calls
- GWAS: Check for columns with too many NAs / with zero variance HOT 1
- getG: Check for constant columns HOT 1
- getG.symDMatrix: blockSize does not use all individuals HOT 1
- Support LinkedMatrix in as.BGData
- Check if i and j != integer() HOT 1
- Allow transformations during getG HOT 1
- Consider covariate files in as.BGData HOT 1
- use gpuR HOT 1
- Fix signature of rayOLS
- Add Y parameter to getG HOT 1
- Add colnames in GWAS.lsfit result
- GWAS: attempt to set 'colnames' on an object with less than two dimensions HOT 5
- write.plink? HOT 4
- getG imputes by 0 if center = FALSE HOT 1
- BEDmatrix conversion to data frame HOT 1
- Problem with j in getG HOT 2
- 'mc.cores' > 1 is not supported on Windows 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 bgdata.