semvec/pypi-packages huggingface dataset:
plugs-post 0.2.1
Post APP
License: MIT
Keywords: plugs-post

=============================
Plugs Post
=============================

.. image:: https://badge.fury.io/py/plugs-post.png
    :target: https://badge.fury.io/py/plugs-post

.. image:: https://travis-ci.org/yo-solo/plugs-post.png?branch=master
    :target: https://travis-ci.org/yo-solo/plugs-post

.. image:: https://codecov.io/github/yo-solo/plugs-post/coverage.svg?branch=master
        :target: https://codecov.io/github/yo-solo/plugs-post?branch=master



Quick start
-----------

1. Install using Pip

   .. code-block:: bash

                   $ pip install plugs_post

2. Add it to INSTALLED_APPS

   .. code-block:: python

                   INSTALLED_APPS = (
                   # other apps
                   'plugs_post'
                   )

3. Run migrate

   .. code-block:: bash

                   $ python manage.py migrate plugs_post

4. Register the Viewsets

   .. code-block:: python

                   from plugs_post.views import PostViewSet, PostSectionViewSet

                   ROUTER = routers.DefaultRouter()

                   ROUTER.register(r'posts', PostViewSet)
                   ROUTER.register(r'post_sections', PostSectionViewSet)

                   urlpatterns = [
                   url(r'^', include(ROUTER.urls))
                   ]




History
-------

0.1.0 (2016-12-29)
++++++++++++++++++

* First release on PyPI.
plugs-status 0.2.0
API Status endpoint
License: MIT
Keywords: plugs-status

=============================
Plugs Status
=============================

.. image:: https://badge.fury.io/py/plugs-status.png
    :target: https://badge.fury.io/py/plugs-status

.. image:: https://travis-ci.org/ricardolobo/plugs-status.png?branch=master
    :target: https://travis-ci.org/ricardolobo/plugs-status

API Status endpoint

Documentation
-------------

The full documentation is at https://plugs-status.readthedocs.io.

Quickstart
----------

Install Plugs Status::

    pip install plugs-status

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'plugs_status.apps.PlugsStatusConfig',
        ...
    )

Add Plugs Status's URL patterns:

.. code-block:: python

    from plugs_status import urls as plugs_status_urls


    urlpatterns = [
        ...
        url(r'^', include(plugs_status_urls)),
        ...
    ]

Features
--------

* TODO

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2017-07-09)
++++++++++++++++++

* First release on PyPI.
plugs-newsletter 0.2.0
App to manage newsletter subscriptions
License: MIT
Keywords: plugs-newsletter

=============================
Plugs Newsletter
=============================

.. image:: https://badge.fury.io/py/plugs-newsletter.png
    :target: https://badge.fury.io/py/plugs-newsletter

.. image:: https://travis-ci.org/ricardolobo/plugs-newsletter.png?branch=master
    :target: https://travis-ci.org/ricardolobo/plugs-newsletter

n

Documentation
-------------

The full documentation is at https://plugs-newsletter.readthedocs.io.

Quickstart
----------

Install Plugs Newsletter::

    pip install plugs-newsletter

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'plugs_newsletter.apps.PlugsNewsletterConfig',
        ...
    )

Add Plugs Newsletter's URL patterns:

.. code-block:: python

    from plugs_newsletter import urls as plugs_newsletter_urls


    urlpatterns = [
        ...
        url(r'^', include(plugs_newsletter_urls)),
        ...
    ]

Features
--------

* TODO

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2017-01-11)
++++++++++++++++++

* First release on PyPI.
plugs-mail 0.2.0
Declarative and Templated Emails
License: MIT
Keywords: plugs-mail

=====
Plugs Mail
=====

.. image:: https://badge.fury.io/py/plugs-mail.svg
    :target: https://badge.fury.io/py/plugs-mail

Quick start
-----------

Soon...




History
-------

0.1.5 (2017-01-16)
++++++++++++++++++

* First release on PyPI.
plugs-contact 0.2.0
APP to manage contact forms
License: MIT
Keywords: plugs-contact

=====
Plugs Contact
=====

.. image:: https://badge.fury.io/py/plugs-contact.svg
    :target: https://badge.fury.io/py/plugs-contact

Quick start
-----------

Soon...




History
-------

0.1.1 (2017-01-13)
++++++++++++++++++

* First release on PyPI.
clipoverlap 1.0.9
Clips overlapping regions in read mates of SAM/BAM files.
License: MIT

clip
----

Clips overlapping regions in read mates of SAM/BAM files.

To install: ``pip install clipoverlap``
Or::

    git clone git@github.com:innovate-invent/clip.git
    cd clip
    python3 setup.py install

To run::

    $ clip -h
    Clip Overlap v1.0
    Clip overlapping reads from SAM/BAM/CRAM file
    Use: clip [-tmabcosv] [input file path | < infile > outfile] [output file path]
    If no paths are given stdin and stdout are used.
    -t # Threads to use for processing (Default=1)
    -m # Maximum template length guaranteeing no read overlap (Default=1000)
    -a Alternate strand being clipped to avoid strand bias (RAM intensive)
    -b Trim tails of reads that extend past end of mate. Used to trim barcode remnants.
    -c Clip only, do not merge clipped region into mate.
    -o [sbuc] Output format: s=SAM (Default), b=BAM compressed, bu=BAM uncompressed, c=CRAM
    -s Maintain input order (High depth regions may fill RAM), if not set will output in arbitrary order (Minimal RAM)
    -v Verbose status output

You may notice if you just run ``clip`` with no parameters it will just sit there doing nothing.
That is because the default is to listen to stdin for input.

Notes:
------
``clip`` uses a minimum of two subprocesses regardless of the ``-t`` option.

``-a`` will alternate between clipping the tail of the left most strand and clipping the head of the right most strand.
This is to avoid possible strand bias later in a processing pipeline.

If you are processing reads that had barcodes ligated and removed the 5' barcode in a previous step (See `ProDuSe:trim <https://github.com/morinlab/ProDuSe>`_)
then use the ``-b`` option to remove any possible 3' barcode sequence that would be appended if sequencing ran to the end of the molecule.

Using ``-s`` and ``-a`` together will force ``clip`` to try and sort by start reference coordinate.
If unsorted data is the input then this could potentially run out of RAM.

Merge Algorithm
---------------
The mate read cigars are assumed to align 1-1 with an offset determined by the difference in the reference start positions.

* If ``-c`` is unset then ``clip`` will retain the highest quality base at a given position in the overlapping region of the mate pairs.
* If the base qualities are equal then it will keep the base that does not match the reference.
* If base qualities are equal and both bases are different variants, then the quality score is set to 3 (3 = Phred 50% probability of either base).
* If the operations between the aligned cigars do not match then the operations from the mate with the lowest alignment cost are retained.

The alignment cost is calculated for the overlapping region only.
The cost is summed using these values:

===========  ==========================
Operation    Value
===========  ==========================
M, X, =, N   -1
I            6 to start, +1 to lengthen
D            3 to start, +1 to lengthen
===========  ==========================

TODO:
-----
Significant speed and memory optimisations are planned.
Need to eliminate the pysam dependency first.