Skip to main content

inferelator-prior

PyPI version CI codecov

This is a set of pipelines to create expression, dynamic response, and prior matrices for network inference. They are designed to create data that is compatible with the inferelator package.

Usage

python -m inferelator_prior.network_from_motifs
usage: network_from_motifs.py --motif motif_PWM_file.meme
                              -f genome_fasta_file.fasta
                              -g genome_annotation_file.gtf
                              -o ~/output/path/prefix
                              --species {yeast,fly,mouse,human}
                              -b constraning_bed_file.bed
                              --cpu num_cores
                              --genes gene_list.txt
                              --tfs tf_list.txt

This requires a motif PWM database (-m PATH), a genome to search (both sequence as a FASTA -f PATH and annotations -g PATH), and an output prefix for several files (-o PATH). In addition, default settings for a specific species can be set with (--species). A BED file can be provided (-b PATH) based on some constraining experiment to restrict searching to specific genomic areas. This will use multiple cores to search for motifs and process the resulting data. By default, all available processors will be used, but this can be overridden with --cpu N. A list of genes (on e per line in a text file) can be provided to --genes and a list of tfs (one per line in a text file) can be provided to --tfs. A network will be built for only these genes or TFs.

The output from this script is an unsigned connectivity matrix (0, 1) connecting genes on rows to regulators on columns. In addition, this produces an unfiltered score matrix (0, ) connecting genes on rows to regulators on columns.

Requirements

In addition to python dependencies, this package also requires STAR, sra-tools, bedtools, samtools, and fimo.

Metadata

Release files for inferelator-prior 0.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inferelator-prior 0.3.8
File Size Uploaded
inferelator_prior-0.3.8.tar.gz 56.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inferelator-prior 0.3.8
File Interpreter ABI Platform
inferelator_prior-0.3.8-py3-none-any.whl Python 3 none any Details

Total release size: 130.9 kB

Release files / inferelator_prior-0.3.8.tar.gz

Download URL inferelator_prior-0.3.8.tar.gz
Size 56.6 kB
Tags Source
SHA-256 checksum
How to use checksums
348e46688cfeb143359341cb789152233d03c8155c5f6d30267742f4c062d85a
BLAKE2b-256 checksum
How to use checksums
74fa0689c81658c28b98d59ea5f1c4663296636c89b1f2f2d9a5e8fbb815c07c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/25.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/21.2.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.6

Release files / inferelator_prior-0.3.8-py3-none-any.whl

Download URL inferelator_prior-0.3.8-py3-none-any.whl
Size 74.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdbebbde12c62a7b709f6163befa9d50ef65f61fcd43b2c5e22e16d92d9b2bef
BLAKE2b-256 checksum
How to use checksums
b86337611305995955825350a32f8dd0965cc9472ad6df0ab6bf671a951d828f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/25.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/21.2.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.3.8 This release

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page