semvec/pypi-packages huggingface dataset:
pysesame2 1.0.2
Python API for Sesame Smartlock made by CANDY HOUSE, Inc.
License: MIT

# pysesame2

Python API for Sesame Smartlock made by CANDY HOUSE, Inc.

### API KEY

You have to generate apikey using candyhouse dashboard: https://my.candyhouse.co/

### Installation

Install from pypi

```shell
# pip install pysesame2
```

Install from source

```shell
# python setup.py install
```

### Example

#### python

```python
from pysesame2 import get_sesames

sesames = get_sesames(YOUR_APIKEY)

sesame = sesames[0]
print(sesame)
print(sesame.get_status())
sesame.lock()
```

```python
from uuid import UUID
from time import sleep
from pyseame2 import Sesame

device_id = UUID('YOUR DEVICE UUID')
sesame = Sesame(device_id, YOUR_APIKEY)
print(sesame.get_status())

task = sesame.async_lock()
while task.pooling() is False:
    print('Processing...')
    sleep(1)
print('Result: %s' % task.is_successful)
```

#### Command Line Interface

```shell
# sesame2 --apikey YOUR_APIKEY list
                           Device ID        Serial Nickame
======================================================================
00000000-0000-0000-0000-000000000001  000000000001 MY-SESAME-LOCK-1
00000000-0000-0000-0000-000000000002  000000000002 MY-SESAME-LOCK-2

# sesame2 --apikey YOUR_APIKEY lock 00000000-0000-0000-0000-000000000001

# sesame2 --apikey YOUR_APIKEY status 00000000-0000-0000-0000-000000000001
Locked: True
Battery: 100
Responsive: True
```

Use `sesame2 --help` get more options
spada 1.26.5
Find splicing-led, functional changes of the proteome.
License: MIT
Keywords: alternative,splicing,analysis,transcriptomics,networks

[![Build Status](https://travis-ci.org/hclimente/spada.svg?branch=master)](https://travis-ci.org/hclimente/spada)
[![codecov](https://codecov.io/gh/hclimente/spada/branch/master/graph/badge.svg)](https://codecov.io/gh/hclimente/spada)
[![PyPI version](https://badge.fury.io/py/spada.svg)](https://badge.fury.io/py/spada)

## spada

spada (Splicing-led Protein Alterations Discovered Agilely) is a tool to study the functional impact of alternative splicing changes in case-control studies. The alterations are represented as isoform switches i.e. the situation when cases are best represented by one isoform, while controls are best represented by a different one. Then, spada is able to predict which protein features are changing between both isoforms, and their impact on the protein-protein interaction network.

To start using spada, simply install it with

``` bash
pip install spada
```

This package has two main functionalities:

- Calculating isoform switches from case-control transcript expression data:
  ```
  spada switches --expression-control expression_ctrl.tsv \
    --expression-case expression_case.tsv --minimum-expression 0.1
  ```
- Predicting the effects of splicing on the protein structure and the interactome of a set of switches:
  ```
  spada function --switches switches.tsv
  ```

For detailed information on how to use spada, please visit the [wiki](https://github.com/hclimente/spada/wiki).

### Documentation

#### Citation

If you use spada in a scientific publication, we would appreciate citations:

> Climente-González, H., Porta-Pardo, E., Godzik, A., and Eyras, E. (2017). [The Functional Impact of Alternative Splicing in Cancer.](http://www.cell.com/cell-reports/abstract/S2211-1247(17)31104-X) *Cell Reports 20*, 2215–2226.

#### Related projects

* [smartas](https://github.com/hclimente/smartas): we applied spada to transcriptomics data from the TCGA. This repository contains the code for the analyses and the main conclusions.