Closed Yemch closed 3 years ago
Check the directory.
I am having the same issue. Specifically, an older version of plink is able to open the file but not a newer version.
Old version:
PLINK v1.90b5 64-bit (14 Nov 2017) www.cog-genomics.org/plink/1.9/
(C) 2005-2017 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to ld_locus_1.log.
Options in effect:
--bfile /mnt/beegfs/oldhome/lentsn-home-migration/symlinks/beegfs_projects_space/sam_ibd/ibd_chr19
--ld-snp rs12972156
--ld-window 99999
--ld-window-kb 1000
--ld-window-r2 0
--out ld_locus_1
--r2
257671 MB RAM detected; reserving 128835 MB for main workspace.
2087017 variants loaded from .bim file.
5000 people (2008 males, 2992 females) loaded from .fam.
Using up to 19 threads (change this with --threads).
Before main variant filters, 5000 founders and 0 nonfounders present.
Calculating allele frequencies... done.
Total genotyping rate is 0.995574.
2087017 variants and 5000 people pass filters and QC.
Note: No phenotypes present.
--r2 to ld_locus_1.ld ... done.
New version, same command:
PLINK v1.90b6.21 64-bit (19 Oct 2020) www.cog-genomics.org/plink/1.9/
(C) 2005-2020 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to ld_locus_1.log.
Options in effect:
--bfile /mnt/beegfs/oldhome/lentsn-home-migration/symlinks/beegfs_projects_space/sam_ibd/ibd_chr19
--ld-snp rs12972156
--ld-window 99999
--ld-window-kb 1000
--ld-window-r2 0
--out ld_locus_1
--r2
257671 MB RAM detected; reserving 128835 MB for main workspace.
Error: Failed to open
/mnt/beegfs/oldhome/lentsn-home-migration/symlinks/beegfs_projects_space/sam_ibd/ibd_chr19.bed.
This seems likely to be a transient filesystem error. I can't think of any changes made to PLINK 1.9 I/O code between those two builds.
(Also note that, if a filesystem error occurs with PLINK 2.0, you should get a more specific error message. Yes, I realize --r2 isn't implemented there yet.)
Thanks, looking forward to using --r2 in PLINK 2.0.
Hi developers,
I was using PLINK v1.90b6.18 64-bit (16 Jun 2020) on Linux. I was trying to merge phenotype files of UKBiobank data for all chromosomes, since the UKBB genotype files are split by chromosome. And the error raised:
However, when I use
head
to look up the file, I can open it.Do you have any suggestions about that?
Thanks, Mingchen