Enter the body of text here
Code should be placed in three backticks as shown below
# get raw data using GEOquery package
GEOquery::getGEOSuppFiles("GSE22247", makeDirectory=TRUE)
untar (tarfile = "./GSE22247/GSE22247_RAW.tar", exdir = "./GSE22247")
# 2 files gathered : RAW.tar containing raw ILLUMINA expression for all samples
# and a .bgx/gz file containing probes information .
illumina_GSE22247 <- limma::read.ilmn(files = "GSE22247_non-normalized_data.txt.gz", path = "./GSE22247") # doesn't work
Error in readGenericHeader(fname, columns = expr, sep = sep) :
Specified column headings not found in file
bgx_GSE22247 <- illuminaio::readBGX( "./GSE22247/GPL6947_HumanHT-12_V3_0_R1_11283641_A.bgx.gz" # does work
illumina_GSE22247 <- limma::read.idat(idatfiles = "./GSE22247/GSE22247_non-normalized_data.txt.gz",
bgxfile = "./GSE22247/GPL6947_HumanHT-12_V3_0_R1_11283641_A.bgx.gz") # doesn't work logically
Reading manifest file ./GSE22247/GPL6947_HumanHT-12_V3_0_R1_11283641_A.bgx.gz ... Done
./GSE22247/GSE22247_non-normalized_data.txt.gz ... Error in illuminaio::readIDAT(idatfiles[j]) :
Cannot read IDAT file. File format error. Unknown magic: # Th
sessionInfo( )
R version 4.0.2 (2020-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS: /softhpc/R/4.0.2/lib64/R/lib/libRblas.so
LAPACK: /softhpc/R/4.0.2/lib64/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
it would be great to add a feature to limma::read.ilmn (or maybe another function) as general probes files being separated from control probes files aren't that common, while projets such as GSE22247, avalaible on GEOquery, with only one raw expression file for all samples, and another one for bgx (probes annotation) are quite common.