Skip to main content

The python sister project to CortexJDK

Project description

tests

Travis-CI Build Status
Coverage Status Coverage Status

package

PyPI Package latest release PyPI Wheel Supported versions
Supported implementations Commits since latest release

docs

Documentation Status

Cortexpy is a Python package for sequence analysis using linked and colored De Bruijn graphs such as the ones created by Cortex and Mccortex. This project aims to mirror many of the features contained in CortexJDK.

Cortexpy also comes with a command-line tool for basic inspection and manipulation of Cortex graphs with and without links.

Audience

The audience of cortexpy is researchers working with colored De Bruijn graphs and link information in Cortex and Mccortex format.

Free software

Cortexpy is free software; you can redistribute it and/or modify it under the terms of the Apache License version 2.0. Contributions are welcome. Please join us on GitHub.

Installation

pip install cortexpy

Documentation

For more information, please see cortexpy documentation.

Citing cortexpy

If you use cortexpy in your work, please consider citing:

Akhter, Shirin, Warren W. Kretzschmar, Veronika Nordal, Nicolas Delhomme, Nathaniel R. Street, Ove Nilsson, Olof Emanuelsson, and Jens F. Sundström. “Integrative analysis of three RNA sequencing methods identifies mutually exclusive exons of MADS-box isoforms during early bud development in Picea abies.” Frontiers in Plant Science 9 (2018). https://doi.org/10.3389/fpls.2018.01625

Bugs

This code is maintained by Warren Kretzschmar <warrenk@kth.se>. For bugs, please raise a GitHub issue.

Development

  1. Install conda.

  2. Download development and testing tools:

    conda env create -f environment.yml -n my-dev-environment
  3. Activate development environment:

    conda activate my-dev-environment

All remaining commands in the development section need to be run in an activated conda dev environment.

Tests

make test

Deploy new cortexpy version to pypi

Requires access credentials for pypi.

make deploy

Building the docs

The documentation is automatically built by read-the-docs on push to master. To build the documentation manually:

# install sphinx dependencies
pip install docs/requirements.txt

make docs

Updating the dev environment

This section is experimental because it does not work on travis-CI yet.

# Create a new env from the high-level requirements file
conda env create -f environment.yml -n another-dev-env

# activate the new environment
conda activate another-dev-env

# save new env to environment.lock.yml
make lock

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

cortexpy-0.46.4.tar.gz (208.9 kB view details)

Uploaded Source

Built Distribution

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

cortexpy-0.46.4-cp36-cp36m-macosx_10_7_x86_64.whl (298.9 kB view details)

Uploaded CPython 3.6mmacOS 10.7+ x86-64

File details

Details for the file cortexpy-0.46.4.tar.gz.

File metadata

  • Download URL: cortexpy-0.46.4.tar.gz
  • Upload date:
  • Size: 208.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for cortexpy-0.46.4.tar.gz
Algorithm Hash digest
SHA256 aeb83b909ecf925190f2f680f456bf6fcd07e8489247ffe9b629394b43acdb23
MD5 9981e14a43fe42be35f78659869d3307
BLAKE2b-256 89b08732f506c0db68dbac3fb1e536cfebcbcdbde5dc5efb3d48aac382aa4c44

See more details on using hashes here.

File details

Details for the file cortexpy-0.46.4-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: cortexpy-0.46.4-cp36-cp36m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 298.9 kB
  • Tags: CPython 3.6m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for cortexpy-0.46.4-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 8afc6b4d5d981db4f6af9e87bc3e0c098f9fc84c0afd84311eb6eae8906ebbb2
MD5 e74457e523296bc70e7a5c722d78a6b9
BLAKE2b-256 7346fcd3d95a966cb3627d3fbef007ee62e49b36b6db57843b9a21dda1c43b94

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