Skip to main content

Package to get VEnCodes as in Macedo and Gontijo, 2019

Project description

This module contains classes and functions that perform intersectional genetics-related operations to find VEnCodes using 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, bioRxiv 2019. DOI:10.1101/552984

Getting started

These instructions are designed to:

  • Get you a copy of the project up and running on your local machine for development and testing purposes;

  • Install the VEnCode package in your python library environment for use in your projects.

Prerequisites

To effectively use this module you will need Python3 with some 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.

Additionally, you will have to download the unannotated TSS files from FANTOM5 consortium website. More specifically, for human, 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.

Installing

  1. Make sure you have the prerequisites;

If you want to edit the project:

  1. Fork this project;

  2. Put the missing FANTOM5 prerequisite files (only the large TSS files are missing) in the directory called “Files”.

If you are a user:

  1. Install VEnCode with pip;

  2. Put all the FANTOM5 prerequisite files in a directory of your choice and when creating DataTpm objects remember to pass the argument: files_path=your_dir_path.

Deployment

To develop your own projects, import objects directly from VEnCode using, for example:

import VEnCode
object1 = VEnCode.DataTpm(...)

You can see examples of some functions and objects being used at the VEnCode Capsule hosted in CodeOcean.

Alternatively, you can look at more advanced usage by going to the “Scripts” folder inside the package.

Running the Tests

Tests for this module can be run in several ways; some examples:

  1. In the command-line:

1.1. Run python’s standard module “unittest” in the tests directory. Basic example in command line:

python -m unittest test_internals

1.2. Install nosetests python package and run nosetests in the “tests” directory. Basic example in command line:

nosetests test_internals.py
  1. By importing the VEnCode module in python:

from VEnCode import tests
tests.test_internals_()

Contributing

Please read CONTRIBUTING.rst for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see:

Authors

See also the list of contributors who participated in this project.

License

Refer to file LICENSE.

Acknowledgements

  • Integrative Biomedicine Laboratory @ CEDOC, NMS, Lisbon (supported by FCT: UID/Multi/04462/2019; PTDC/MED-NEU/30753/2017; and PTDC/BIA-BID/31071/2017 and FAPESP: 2016/09659-3)

  • CEDOC: Chronic Diseases Research Center, Nova Medical School, Lisbon

  • The MIT Portugal Program (MITEXPL/BIO/0097/2017)

  • LIGA PORTUGUESA CONTRA O CANCRO (LPCC) 2017.

  • FCT (IF/00022/2012, SFRH/BD/94931/2013, PTDC/BEXBCM/1370/2014)

  • Prof. Dr. Ney Lemke and Ms. Benilde Pondeca for important discussions.

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

VEnCode-0.2.1.tar.gz (4.5 MB view hashes)

Uploaded Source

Built Distribution

VEnCode-0.2.1-py3-none-any.whl (4.6 MB view hashes)

Uploaded Python 3

Supported by

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