semvec/pypi-packages huggingface dataset:
bamsnap 0.2.19
A converter from .bam to .png for specific genomic region.
License: MIT
Keywords: genomics,bioinformatics

# BamSnap
<!--[![Build Status](https://travis-ci.org/bamsnap/bamsnap.svg?branch=develop)](https://travis-ci.org/bamsnap/bamsnap) 
[![Code Health](https://landscape.io/github/bamsnap/bamsnap/develop/landscape.svg?style=flat)](https://landscape.io/github/bamsnap/bamsnap/develop) 
[![Coverage Status](https://img.shields.io/codecov/c/github/bamsnap/bamsnap/develop.svg)](https://codecov.io/github/bamsnap/bamsnap?branch=develop)-->

BamSnap: a lightweight command-based visualization tool for sequencing reads in BAM files

<!--<img src="https://raw.githubusercontent.com/parklab/bamsnap/master/data/ex1/snapfiles/snap_test11.bam_1_715347-715348.png" height=128px width=405px>-->

For more details, see BamSnap [**Documentation**](http://bamsnap.readthedocs.io/en/latest).

[<img src="https://img.shields.io/pypi/v/bamsnap.svg">](https://pypi.org/project/bamsnap/)
[<img src="https://img.shields.io/pypi/dm/bamsnap.svg">](https://pypi.org/project/bamsnap/)
[<img src="https://readthedocs.org/projects/bamsnap/badge/?version=latest">](https://bamsnap.readthedocs.io/)
[<img src="https://img.shields.io/docker/pulls/danielmsk/bamsnap.svg">](https://hub.docker.com/r/danielmsk/bamsnap)

## Installation

### Prerequisites
* python 3.4+
* [Pillow (Python Imaging Library)](https://pypi.org/project/Pillow/)
* [pysam](https://pypi.org/project/pysam/)
* [pyfaidx](https://pypi.org/project/pyfaidx/)
* [pytabix](https://pypi.org/project/pytabix/)

### Install with pip

```bash
pip install bamsnap
```
* [pypi site for bamsnap](https://pypi.org/project/bamsnap/)

### Install with github

```
git clone https://github.com/parklab/bamsnap
cd bamsnap
python setup.py install
```

## Usage

### Simple usage
```bash
$ bamsnap -bam test.bam -pos 1:7364529 -out test.png
```

For more details, see BamSnap [**Documentation**](http://bamsnap.readthedocs.io/en/latest).

### Usage with docker
```bash
$ docker pull danielmsk/bamsnap
$ docker run --rm -it -v /local_directory_path:/directory_path_in_image danielmsk/bamsnap bamsnap \
    -bam /directory_path_in_image/test.bam \
    -pos 1:7364529 \
    -out /directory_path_in_image/test.png
```



## Example Use Case

* [**1000 Genome Data**](https://bamsnap-1kg.s3.amazonaws.com/index.html): 1000 genomic loci in 2504 individuals
* [**BamSnap Plot Gallery**](https://bamsnap.readthedocs.io/en/latest/gallery.html)
flowbase 0.0.3
Python implementation of the FlowBase Flow-based Programming micro-framework idea (see flowbase.org)
License: MIT
Keywords: flow-based programming

# FlowBase-Python

Python implementation of the [FlowBase micro-FBP framework
idea](https://flowbase.org), using Python's asyncio library, introduced in
Python 3.4/3.5.

## Installation

```bash
pip install flowbase
```

## Try an example

```
cd examples
python string_processing_pipeline.py
```

### Expected output:

```bash
$ python string_processing_pipeline.py
Printer got line: hi hi for the 1:TH TIME...
Printer got line: hi hi for the 2:TH TIME...
Printer got line: hi hi for the 3:TH TIME...
Printer got line: hi hi for the 4:TH TIME...
Printer got line: hi hi for the 5:TH TIME...
Printer got line: hi hi for the 6:TH TIME...
Printer got line: hi hi for the 7:TH TIME...
Printer got line: hi hi for the 8:TH TIME...
Printer got line: hi hi for the 9:TH TIME...
Printer got line: hi hi for the 10:TH TIME...
Printer got line: hi hi for the 11:TH TIME...
Printer got line: hi hi for the 12:TH TIME...
Printer got line: hi hi for the 13:TH TIME...
Printer got line: hi hi for the 14:TH TIME...
Printer got line: hi hi for the 15:TH TIME...
Printer got line: hi hi for the 16:TH TIME...
Printer got line: hi hi for the 17:TH TIME...
Printer got line: hi hi for the 18:TH TIME...
Printer got line: hi hi for the 19:TH TIME...
Printer got line: hi hi for the 20:TH TIME...
```

## Acknowledgements

Kudos to [Simone Baffelli](https://github.com/baffelli)'s
[Pyperator](https://github.com/baffelli/pyperator/) library which showed that
it is in fact possible to implement an FBP-like library using asyncio.
terraware-devices 0.1.7
Device management for Terraformation hardware systems
License: MIT
Requires Python: >=3.7, <4

# Terraware device manager code

This code provides local on-site monitoring and control software for Terraformation hardware systems (seed banks, power generation, desalination, irrigation, etc.).

## Installation

To install the latest release: `pip install terraware-devices`

To install a local copy of this repo as a dependency in another project: `pip install -e /path/to/terraware-devices`

To install dependencies to work on the code locally: `pip install -e .`

## Packaging

Run `make package` to package the code for public distribution.

If you are a maintainer of the package on PyPI, run `make upload` to upload it (this will do `make package` automatically).

To upload to the test PyPI instance, run `make REPOSITORY=testpypi upload`.