Error in H5Fopen
1
0
Entering edit mode
@b4aa1b9e
Last seen 9 months ago
Italy

Hi everyone, I'm new in this platform and i'm trying to use RStudio for a second analysis of bulk-RNAseq. I'm trying to open H5 files. But i got an error:

dropping unused factor levels
.Errore in H5Fopen(file, flags = flags, fapl = fapl, native = native) : 
  HDF5. File accessibility. Unable to open file.

I initially include the path into the data frame as indicated below:

> print(s2c)
     sample timepoint path
PIR1   PIR1   Initial $PATH/Quant_post/PIR1
PIR2   PIR2   Initial $PATH/Quant_post/PIR2
PIR3   PIR3   Initial $PATH/Quant_post/PIR3
PRR1   PRR1  Recovery $PATH/Quant_post/PRR1
PRR2   PRR2  Recovery $PATH/Quant_post/PRR2
PRR3   PRR3  Recovery $PATH/Quant_post/PRR3
VIR1   VIR1   Initial $PATH/Quant_post/VIR1
VIR2   VIR2   Initial $PATH/Quant_post/VIR2
VIR3   VIR3   Initial $PATH/Quant_post/VIR3
VRR1   VRR1  Recovery $PATH/Quant_post/VRR1
VRR2   VRR2  Recovery $PATH/Quant_post/VRR2
VRR3   VRR3  Recovery $PATH/Quant_post/VRR3

In each directory I have a h5 file:

> dir("$PATH/Quant_post/PIR1/", "h5$") 
[1] "abundance.h5"

Could someone help me in a simple ways? Sorry but I'm really new and I don't know well the correct way to communicate in this topic.

sessionInfo( )
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.2 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

locale:
 [1] LC_CTYPE=it_IT.UTF-8       LC_NUMERIC=C               LC_TIME=it_IT.UTF-8        LC_COLLATE=it_IT.UTF-8     LC_MONETARY=it_IT.UTF-8    LC_MESSAGES=it_IT.UTF-8   
 [7] LC_PAPER=it_IT.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] doParallel_1.0.17           iterators_1.0.14            foreach_1.5.2               rhdf5_2.38.1                sleuth_0.30.1               biomaRt_2.50.3             
 [7] pheatmap_1.0.12             RColorBrewer_1.1-3          DESeq2_1.34.0               SummarizedExperiment_1.24.0 Biobase_2.54.0              MatrixGenerics_1.6.0       
[13] matrixStats_1.0.0           GenomicRanges_1.46.1        GenomeInfoDb_1.30.1         IRanges_2.28.0              S4Vectors_0.32.4            BiocGenerics_0.40.0        
[19] ggplot2_3.4.2               dplyr_1.1.2                

loaded via a namespace (and not attached):
 [1] httr_1.4.6             bit64_4.0.5            splines_4.1.2          BiocFileCache_2.2.1    blob_1.2.4             GenomeInfoDbData_1.2.7 progress_1.2.2        
 [8] pillar_1.9.0           RSQLite_2.3.1          lattice_0.21-8         glue_1.6.2             digest_0.6.33          XVector_0.34.0         colorspace_2.1-0      
[15] Matrix_1.6-0           XML_3.99-0.14          pkgconfig_2.0.3        genefilter_1.76.0      zlibbioc_1.40.0        purrr_1.0.1            xtable_1.8-4          
[22] scales_1.2.1           BiocParallel_1.28.3    tibble_3.2.1           annotate_1.72.0        KEGGREST_1.34.0        generics_0.1.3         cachem_1.0.8          
[29] withr_2.5.0            lazyeval_0.2.2         cli_3.6.1              survival_3.5-5         magrittr_2.0.3         crayon_1.5.2           memoise_2.0.1         
[36] fansi_1.0.4            xml2_1.3.5             data.table_1.14.8      tools_4.1.2            prettyunits_1.1.1      hms_1.1.3              lifecycle_1.0.3       
[43] stringr_1.5.0          Rhdf5lib_1.16.0        munsell_0.5.0          locfit_1.5-9.8         DelayedArray_0.20.0    AnnotationDbi_1.56.2   Biostrings_2.62.0     
[50] compiler_4.1.2         rlang_1.1.1            grid_4.1.2             RCurl_1.98-1.12        rhdf5filters_1.6.0     rstudioapi_0.15.0      rappdirs_0.3.3        
[57] bitops_1.0-7           codetools_0.2-19       gtable_0.3.3           DBI_1.1.3              curl_5.0.1             R6_2.5.1               fastmap_1.1.1         
[64] bit_4.0.5              utf8_1.2.3             filelock_1.0.2         stringi_1.7.12         Rcpp_1.0.11            vctrs_0.6.3            geneplotter_1.72.0    
[71] png_0.1-8              dbplyr_2.3.3           tidyselect_1.2.0
HDF5Array • 500 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 12 hours ago
United States

Those are apparently files from running kallisto, yes? In which case you should use tximport to read the data in.

0
Entering edit mode

Also, that is an ancient version of R. You should update to the current release version and reinstall Bioconductor.

ADD REPLY

Login before adding your answer.

Traffic: 570 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6