본문으로 건너뛰기
cccskills
무료GitHub에 공개

bioconductor-gdsfmt

Provides a high-level R interface to CoreArray Genomic Data Structure (GDS) data files. GDS is portable across platforms with hierarchical structure to store multiple scalable array-oriented data sets with metadata information. It is suited

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

gdsfmt

When to Use

  • Storing and managing large-scale array-oriented datasets that are much larger than available random-access memory using createfn.gds.
  • Writing and compressing low-bit integer data (e.g., 2-bit integers for genotypes) using add.gdsn with storage="bit2".
  • Applying user-defined functions marginally across rows or columns of massive matrices using apply.gdsn.
  • Reading specific subsets of compressed data efficiently using read.gdsn or readex.gdsn.

When NOT to Use

  • For small datasets that easily fit in memory; use standard R matrix or data.frame objects because GDS file creation adds unnecessary overhead.
  • For purely sparse matrix operations without disk-backing; use the Matrix package directly (e.g., dgCMatrix), though gdsfmt can store them.

Data Requirements

  • Hierarchical structure containing multidimensional arrays, character arrays, or metadata.
  • Supports various storage types: integer, floating-point number, character, logical, factor, and packed real numbers.

Key Parameters

  • val (NULL): The R variable or data (e.g., matrix, vector) passed to add.gdsn to write to the GDS node.
  • storage ("int"): Storage type in add.gdsn (e.g., "int", "bit2", "float", "packedreal16", "sp.int").
  • compress (""): Compression algorithm specified in add.gdsn (e.g., "ZIP", "LZ4", "LZMA", "ZIP_ra").
  • start (1): Vector specifying the starting position for subset reading/writing in read.gdsn or write.gdsn.
  • count (-1): Vector specifying the size of the dimension to read/write in read.gdsn or write.gdsn (-1 means the full size of that dimension).
  • margin (1): Indicates applying a function row-by-row (1) or column-by-column (2) in apply.gdsn.

Best Practices

  • Always close the GDS file using closefn.gds to ensure data integrity and release the file handle.
  • When the dataset is larger than system memory, pre-define the dimension size in add.gdsn using valdim and write data in chunks using write.gdsn.
  • If a compression algorithm is specified in add.gdsn, use append.gdsn instead of write.gdsn because data must be compressed sequentially.
  • Use digest.gdsn to create hash function digests (e.g., md5) to verify data integrity.

Common Pitfalls

  • Corrupted or locked files: Failing to close a GDS file after writing. Fix: Always call closefn.gds when finished with the file handle.
  • Writing to compressed nodes incorrectly: Attempting to use write.gdsn on a node created with compress="ZIP". Fix: Call append.gdsn instead, as compressed data must be written sequentially, followed by readmode.gdsn.
  • Memory exhaustion: Trying to load a massive GDS node entirely into memory with read.gdsn. Fix: Specify start and count arguments in read.gdsn or use readex.gdsn to read only a subset of the data.

Alternatives

  • HDF5Array: For standard HDF5-backed array storage, because it integrates deeply with the DelayedArray ecosystem.
  • rhdf5: For general-purpose HDF5 file manipulation, whereas gdsfmt is specifically tailored with genomic-specific compression (like 2-bit).
  • bigmemory: For shared-memory matrix representations without hierarchical node structures.

Citations

  • Zheng X, et al. (2012). "A high-performance computing toolset for relatedness and principal component analysis of SNP data." Bioinformatics.

References

  • Homepage: bioconductor.org/packages/gdsfmt
  • Vignette: vignette_0_727c94f6.txt
<!-- biomate-cta -->

Run this on BioMate

This skill is the knowledge layer — when, why, and how to use gdsfmt. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open gdsfmt on BioMate →

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

bioMate-AI의 스킬 모두 보기

이 스킬의 문제 신고