Skip to main content

No project description provided

Project description

Genome Regulation Analysis Tool Incorporating Organization and Spatial Architecture

GRATIOSA facilitates the integration, comparison and combined statistical analyses of diffent data types such as Chip-Seq data, RNA-Seq data and genomic annotations. It includes (1) the integration of various data types and formats in a unified framework, allowing direct comparison; (2) an implementation of spatial statistical analyses of the relationship between transcriptional regulation and chromosome organization, greatly reducing coding time; and (3) an improvement in reproducibility, in particular for common regulatory mechanisms across different species.

GRATIOSA is written in Python, and is targeted to computational biologists with some experience in Python. It is designed for UNIX architectures (Linux, MacOS), and typically accessed from Jupyter notebooks to carry out specific analyses.

The automated import of data and standardized statistical tests and procedures are combined with the flexibility of Python for developing custom subsequent analyses, depending on the particular regulatory mechanism under investigation. GRATIOSA is primarily designed to treat expression data (RNA-Seq or microarrays), and ChIP-Seq data, but can be used with any type of continuous signals along the genome (other binding signals, mutation rates, binding prediction profiles…) or lists of discrete features (annotated or predicted protein binding sites, Hi-C topological domain borders, …).

How to install the package?

To install this package, the recommended method is to execute the following command in your terminal pip install GRATIOSA For simple testing, you can just download this package manually (using Code / Download ZIP) and work locally.

Dependencies

GRATIOSA requires Python3 with the standard following libraries: NumPy, Pandas, Scipy, MatPlotLib, StatModels. Additionally, for the specific handling of .bam files, the library pySam is required. See version details in the requirements.txt file.

General presentation

We describe here the recommended installation procedure. For a local use (for simple testing), please follow instructions proposed in the provided tutorials (Jupyter notebooks).

Before using the package, the user needs to prepare and organize their data into predefined directories: see examples in the provided data/ directory and their use in tutorials. Each new organism corresponds to a directory with the associated name. This directory must contain the reference sequence in fasta format and an annotation file in gff format in the “annotation” subdirectory. This can be created automatically from the NCBI database (see documentation of the Genome class). The pre-processed and formatted experimental data, provided by the user, should be placed in appropriate directories named according to the data type (see examples in tutorials). These experimental data files should usually be accompanied by an “info” file that the user needs to complete with information about the file organization, following the provided template.

How to use GRATIOSA?

The user must define the location of the database (containing all datafiles for the investigated species) as an environment variable GRATIOSA_DB_PATH (e.g. export GRATIOSA_DB_PATH = /home/usr/documents/GRATIOSA/). Thus, the files must be in GRATIOSA_DB_PATH + data/organisms. The most convenient way to run GRATIOSA is probably to install a virtual environment. See tutorials for examples of use.

Data analysis using the package is performed through Python commands, typically in a Jupyter notebook, with three major steps. Firstly, as the package is an object-oriented framework, the objects (Genome, Transcriptome, ChIP-Seq, etc.) need to be initialized, and then the data can be loaded as attributes.

The second step involves data processing. During this step, attributes associated with genomic positions can be scaled to the gene level for further analysis. Additionally, the loaded continuous signals can be binned, smoothed, or averaged. A verification and graphical exploration of the signals can be performed at the end of the first or second step using a graphical function that plots the signals on the annotated genome. To prepare for statistical analysis, quantitative data can also be classified.

The last step is the statistical analysis with enrichment or proportion tests (for qualitative attributes) and Student/Wilcoxon-Mann-Whitney tests (for quantitative comparisons). These functions can also be used to handle custom data imported manually by the user. Results are saved as tables (in csv format) and can be visualized as annotated bar plots created with graphical functions included in the package.

Documentation

https://gratiosa.readthedocs.io/en/latest/Presentation.html

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

gratiosa-1.0.2.tar.gz (63.6 kB view details)

Uploaded Source

Built Distribution

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

GRATIOSA-1.0.2-py3-none-any.whl (73.0 kB view details)

Uploaded Python 3

File details

Details for the file gratiosa-1.0.2.tar.gz.

File metadata

  • Download URL: gratiosa-1.0.2.tar.gz
  • Upload date:
  • Size: 63.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for gratiosa-1.0.2.tar.gz
Algorithm Hash digest
SHA256 73ac3c624ae23addff4f2e4664ef5cb0d8a6850253d1cf23fd11f17e72b5d7a6
MD5 d923c4522a994aeec7214b3fed960f55
BLAKE2b-256 9f74443bedaa581dd8dcccf6abc3d1bf18457d1b0170237e209bdd7c237cc380

See more details on using hashes here.

File details

Details for the file GRATIOSA-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: GRATIOSA-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 73.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for GRATIOSA-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ecd0b5c303c8ecbb751621d74971eaa0e50ea632ea4765176d8a712ab06fbac
MD5 d81a1a760de425d8e403f9f123448b91
BLAKE2b-256 6fdd351883c0e70c5fbff2ef11ac33c94c1c3470ac0c4cfe1fbf6b3ce7184c99

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