Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importRankings ERROR #29

Open
Nocooper opened this issue Nov 2, 2022 · 1 comment
Open

importRankings ERROR #29

Nocooper opened this issue Nov 2, 2022 · 1 comment
Labels

Comments

@Nocooper
Copy link

Nocooper commented Nov 2, 2022

when I use function importRankings("hg38_10kbp_up_10kbp_down_full_tx_v10_clust.genes_vs_motifs.rankings.feather") import feather file meet error

Using the column 'A1BG' as feature index for the ranking database.
Error: NotImplemented: Support for codec 'zstd' not built
In order to read this file, you will need to reinstall arrow with additional features enabled.
Set one of these environment variables before installing:

 * Sys.setenv(LIBARROW_MINIMAL = "false") (for all optional features, including 'zstd')
 * Sys.setenv(ARROW_WITH_ZSTD = "ON") (for just 'zstd')

See https://arrow.apache.org/docs/r/articles/install.html for details

Feather File download from :https://resources.aertslab.org/cistarget/databases/homo_sapiens/hg38/refseq_r80/mc_v10_clust/gene_based/hg38_10kbp_up_10kbp_down_full_tx_v10_clust.genes_vs_motifs.rankings.feather

> sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Ubuntu 22.04 LTS

Matrix products: default
BLAS/LAPACK: /home/yxwang/.conda/envs/R_env/lib/libopenblasp-r0.3.21.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=zh_CN.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=zh_CN.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=zh_CN.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=zh_CN.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] arrow_10.0.0      data.table_1.14.4 RcisTarget_1.16.0

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.9                  lattice_0.20-45            
 [3] png_0.1-7                   Biostrings_2.64.1          
 [5] assertthat_0.2.1            digest_0.6.30              
 [7] utf8_1.2.2                  mime_0.12                  
 [9] R6_2.5.1                    GenomeInfoDb_1.32.4        
[11] stats4_4.2.1                RSQLite_2.2.18             
[13] httr_1.4.4                  pillar_1.8.1               
[15] sparseMatrixStats_1.8.0     zlibbioc_1.42.0            
[17] rlang_1.0.6                 annotate_1.74.0            
[19] blob_1.2.3                  S4Vectors_0.34.0           
[21] R.utils_2.12.1              R.oo_1.25.0                
[23] Matrix_1.5-1                AUCell_1.18.1              
[25] RCurl_1.98-1.9              bit_4.0.4                  
[27] shiny_1.7.3                 DelayedArray_0.22.0        
[29] compiler_4.2.1              httpuv_1.6.6               
[31] pkgconfig_2.0.3             BiocGenerics_0.42.0        
[33] htmltools_0.5.3             tidyselect_1.2.0           
[35] KEGGREST_1.36.3             SummarizedExperiment_1.26.1
[37] tibble_3.1.8                GenomeInfoDbData_1.2.8     
[39] IRanges_2.30.1              matrixStats_0.62.0         
[41] XML_3.99-0.12               fansi_1.0.3                
[43] crayon_1.5.2                dplyr_1.0.10               
[45] later_1.3.0                 bitops_1.0-7               
[47] R.methodsS3_1.8.2           grid_4.2.1                 
[49] xtable_1.8-4                GSEABase_1.58.0            
[51] lifecycle_1.0.3             DBI_1.1.3                  
[53] magrittr_2.0.3              graph_1.74.0               
[55] cli_3.4.1                   cachem_1.0.6               
[57] XVector_0.36.0              promises_1.2.0.1           
[59] DelayedMatrixStats_1.18.2   ellipsis_0.3.2             
[61] generics_0.1.3              vctrs_0.5.0                
[63] tools_4.2.1                 bit64_4.0.5                
[65] Biobase_2.56.0              glue_1.6.2                 
[67] purrr_0.3.5                 MatrixGenerics_1.8.1       
[69] fastmap_1.1.0               AnnotationDbi_1.58.0       
[71] BiocManager_1.30.19         GenomicRanges_1.48.0       
[73] memoise_2.0.1              

> packageVersion("RcisTarget")
[1] ‘1.16.0’


@s-aibar
Copy link
Member

s-aibar commented Dec 1, 2022

Dear Nocooper,

That error is probably due to the recent updates in the databases, the column order was changed. That should be corrected automatically in the newer versions of RcisTarget, but if you don't want to update the package, you can indicate the column to take (probably 'features') as argument to the function.

@s-aibar s-aibar added the solved? label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants