| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This module contains classes and functions that perform intersectional genetics-related operations to find VEnCodes using any matrix of cell types (columns) vs regulatory elements or markers (rows).
Moreover, it contains particular methods to make use of the databases provided by the FANTOM5 consortium, namely the CAGE enhancer and transcription start site (TSS) databases.
For more information on the VEnCode technology, please refer to Macedo and Gontijo, GigaScience, 2020.
These instructions are designed to:
To effectively use this module you will need Python3 with a few external libraries installed in your machine. Check the requirements file. If you install the package with pip, it should resolve the library requirements for you.
Optionally, if you want to retrieve VEnCodes using the comprehensive FANTOM5 CAGE-seq data, you will have to download the unannotated TSS files from FANTOM5 consortium website. More specifically, for human, download this file for promoter analysis, and this one and the ID-sample name map for enhancers. Finally, download the curated sample category file.
Those 4 files are enough to find CAGE-based VEnCodes for human.
If you want to edit the project:
You are now ready to go. Optionally, if you are using the FANTOM5 data instead of your own:
If you are a user:
pip install VEnCodeYou are good to go. Optionally, if you are using the FANTOM5 data instead of your own:
files_path = "just put here the path to your file"There are several ways to use this module:
import VEnCode
object1 = VEnCode.DataTpm(...)
vencodes = VEnCode.Vencodes(object1, ...)
vencodes.next(amount=2)
vencodes.export("vencodes", ...)python process.py get_vencodes Hepatocyte --algorithm heuristicTests for this module can be run in several ways; some examples:
1.1. Using the process.py utility file to run all the tests in one go. This is easily done by running the following command inside the VEnCode module:
python process.py run_tests1.2. Run python's standard module "unittest" in the tests directory to run each test individually. Basic example in command line:
python -m unittest test_internals1.3. Another way to run each test individually is to install the nosetests python package and run nosetests in the tests directory. Basic example in command line:
nosetests test_internals.pyfrom VEnCode import tests
tests.run_all_tests()Please read CONTRIBUTING.rst for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see:
See also the list of contributors who participated in this project.
Refer to the file LICENSE.
| Back | FazBrowse Home | New Git URL |