Skip to main content

BioCRE package

Project description

BioCRE

BioCRE, an innovative computational framework, employs a sophisticated bi-orientation regression model to analyze multi-omics datasets. This approach deciphers the complex interactions within Gene Regulatory Networks (GRNs) at the chromosomal scale, pinpointing crucial Cis-Regulatory Elements (CREs) that play pivotal roles in gene expression and regulation. By integrating diverse genomic information, BioCRE enhances our understanding of cellular processes and disease mechanisms, offering new avenues for therapeutic intervention and personalized medicine strategies.

Installation

Installation with virtual environment are suggested:

conda create -n biocre python=3.8

To install BioCRE, make sure you have PyTorch installed.

pip install torch torchvision torchaudio -i https://mirrors.cloud.tencent.com/pypi/simple

Then install BioCRE by pip:

pip install biocre

Usage of BioCRE

Executing the BioCRE pipeline necessitates the provision of three primary inputs: rna_adata, atac_adata, and meta_data:

  • rna_adata - This represents the snRNA-seq data encapsulated in an AnnData object.
  • atac_adata - This represents the snATAC-seq data encapsulated in an AnnData object.
  • meta_data - This data serves as a genomic annotation of genes and peaks. Typically, the cellranger output file named 'features.tsv.gz' serves as the metadata.

To ensure accurate integration and comparison across multi-omics data, it is imperative that the cells represented in both AnnData objects (rna_adata and atac_adata) are identical. This means that each cell in one dataset should correspond directly to a cell in the other dataset, maintaining consistency in cell identity and order.Pre-processing steps should be applied to the cells prior to inputting them into the analysis pipeline. These pre-processing measures typically include quality control checks, normalization, filtering out low-quality cells or features, and batch effect correction, if necessary. By performing these steps, you enhance the reliability and interpretability of downstream multi-omics analyses, ensuring that any observed correlations or differences are biologically meaningful rather than artifacts of technical variability.

After preparing the input data, you can run BioCRE using following code:

result = linkage(rna_adata,
                 atac_adata,
                 meta_data, ,
                 min_cell=10,
                 lr=0.5,
                 max_iter=500,
                 lambda_l2=0.1,
                 downsample=None)

The returned list encompasses the linkage for each chromosome. Given that BioCRE can be resource-intensive, employing significant amounts of memory, you may opt to expedite processing and reduce memory consumption through cell downsampling. Setting the desired cell count via the downsample parameter facilitates this. Alternatively, utilizing the metacells derived from rna_adata and atac_adata can also speed computations, offering a strategy to manage large datasets more efficiently.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biocre-1.22.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biocre-1.22-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file biocre-1.22.tar.gz.

File metadata

  • Download URL: biocre-1.22.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.7

File hashes

Hashes for biocre-1.22.tar.gz
Algorithm Hash digest
SHA256 49ed70fb5504a87fb28114950280470f9c5353bf4870093175e187a949bb17a2
MD5 b7c927a0dce8176a85f7c3a73c870a9a
BLAKE2b-256 bde26e33697e3d2e3c7fda2260781f09e5356a26ea6205de59de218b549b09a4

See more details on using hashes here.

File details

Details for the file biocre-1.22-py3-none-any.whl.

File metadata

  • Download URL: biocre-1.22-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.7

File hashes

Hashes for biocre-1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 4ecaae5d400d16a04760f539173b2d44958f7cbb8edd1146094c8201e6426eeb
MD5 d898d4d6391ef6997df4d883b36b8cd0
BLAKE2b-256 ce61d8a2d7d1f39fbd11f7605bf8460a073b11a3bc445391a2f44414c5195a6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page