cortexpy

A Python API for manipulating (Mc)Cortex de novo assembly graph and link data

https://github.com/winni2k/cortexpy

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    2 of 6 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

A Python API for manipulating (Mc)Cortex de novo assembly graph and link data

Basic Info
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • Open Issues: 3
  • Releases: 0
Created almost 9 years ago · Last pushed over 6 years ago
Metadata Files
Readme License

README.rst

Overview of Cortexpy_
=====================

.. start-badges

.. list-table::
    :stub-columns: 1

    * - tests
      - | |travis| |codecov|
    * - package
      - | |version| |wheel| |supported-versions|
        | |supported-implementations| |commits-since|
    * - docs
      - | |readthedocs|

.. |travis| image:: https://travis-ci.org/winni2k/cortexpy.svg?branch=master
    :alt: Travis-CI Build Status
    :target: https://travis-ci.org/winni2k/cortexpy

.. |codecov| image:: https://codecov.io/github/winni2k/cortexpy/coverage.svg?branch=master
    :alt: Coverage Status
    :target: https://codecov.io/github/winni2k/cortexpy

.. |version| image:: https://img.shields.io/pypi/v/cortexpy.svg
    :alt: PyPI Package latest release
    :target: https://pypi.python.org/pypi/cortexpy

.. |commits-since| image:: https://img.shields.io/github/commits-since/winni2k/cortexpy/v0.46.5.svg
    :alt: Commits since latest release
    :target: https://github.com/winni2k/cortexpy/compare/v0.46.5...master

.. |wheel| image:: https://img.shields.io/pypi/wheel/cortexpy.svg
    :alt: PyPI Wheel
    :target: https://pypi.python.org/pypi/cortexpy

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/cortexpy.svg
    :alt: Supported versions
    :target: https://pypi.python.org/pypi/cortexpy

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/cortexpy.svg
    :alt: Supported implementations
    :target: https://pypi.python.org/pypi/cortexpy

.. |readthedocs| image:: https://readthedocs.org/projects/cortexpy/badge/?version=latest
   :target: https://cortexpy.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status


.. end-badges

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: https://github.com/winni2k/cortexpy

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

.. _Cortex: https://github.com/iqbal-lab/cortex
.. _Mccortex: https://github.com/mcveanlab/mccortex

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_.

.. _documentation: https://cortexpy.readthedocs.io/en/latest/index.html

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 .
For bugs, please raise a `GitHub issue `_.

Development
-----------

1. Install `conda `_.
2. Download mccortex for testing::

    conda env create -f environment.yml -n my-dev-environment

3. Activate development environment::

    conda activate my-dev-environment

4. Install remaining development tools::

    pip3 install -r requirements.txt


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 -r docs/requirements.txt

    make docs

Owner

  • Name: Winni Kretzschmar
  • Login: winni2k
  • Kind: user
  • Location: Stockholm, Sweden

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 496
  • Total Committers: 6
  • Avg Commits per committer: 82.667
  • Development Distribution Score (DDS): 0.038
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Warren W. Kretzschmar w****h@g****m 477
Warren Kretzschmar w****r@k****e 9
Kiran V Garimella k****n@w****k 5
Warren Kretzschmar w****k@k****e 2
Karl Johan Westrin k****w 2
Kiran V Garimella k****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 6
  • Total pull requests: 4
  • Average time to close issues: 6 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 0.5
  • Average comments per pull request: 4.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • winni2k (6)
Pull Request Authors
  • karljohanw (2)
  • kvg (1)
  • winni2k (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 132 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 88
  • Total maintainers: 1
pypi.org: cortexpy

The python sister project to CortexJDK

  • Versions: 88
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 132 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Average: 21.8%
Forks count: 22.6%
Downloads: 27.1%
Stargazers count: 27.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

environment.yml conda
  • mccortex >=1.0
docs/requirements.txt pypi
  • sphinx *
  • sphinx_rtd_theme *
  • sphinxcontrib-mermaid *
requirements.txt pypi
  • bumpversion *
  • cython *
  • tox *
  • twine *
  • wheel *
tox-requirements.txt pypi
  • bitstring *
  • coverage >=4.5
  • hypothesis *
  • pytest *
  • pytest-cov *
  • pytest-flake8 *
  • pytest-pylint *