An open API service indexing awesome lists of open source software.

https://github.com/gmauro/alta

Reliable foundation library to access infrastructure elements for next generation sequencing data analysis and management
https://github.com/gmauro/alta

python python-library

Last synced: 3 months ago
JSON representation

Reliable foundation library to access infrastructure elements for next generation sequencing data analysis and management

Awesome Lists containing this project

README

        

# ALTA

Reliable foundation library to access infrastructure elements for next generation sequencing data analysis and management

## Requirements:

- Python 2.7
- [OMERO.biobank](https://github.com/crs4/omero.biobank)
- [BioBlend](https://github.com/galaxyproject/bioblend)
- [nglimsclient](https://bitbucket.org/crs4/nglimsclient)
- [python-irodsclient](https://github.com/irods/python-irodsclient)
- [bikaclient](https://github.com/ratzeni/bika.client)
- [vcfminerclient](https://github.com/ratzeni/vcf-miner.client)
- [comoda](https://github.com/gmauro/comoda)

## Installation

```bash
curl -sS http://gmauro.github.io/alta/install.sh | sh -s venv
```
In your current path, you will find a virtual enviroment into the 'venv' dir.
Activate it to access Alta.
```bash
source venv/bin/activate
```

## Usage

### Connect to a Bika server:
```python
from alta.bims import Bims
bk = Bims('http://host', 'user', 'password', 'bikalims')
```
then to access [bikaclient](https://github.com/ratzeni/bika.client) methods, use
```python
bk.bims.client

```
instead to access alta.bims methods, use:
```python
bk.bims

```

### Connect to an iRODS server
```python
from alta.objectstore import build_object_store
ir = build_object_store(store='irods', host=host, user=user, password=password, zone=zone)
```
then to access alta.objectore.yrods methods, use:
```python
ir

```

### Connect to a VCFMiner server
```python
from alta.browsers import Browsers
mc = Browsers('http://host', 'user', 'password', 'vcfminer')
```
then to access [vcfminerclient](https://github.com/ratzeni/vcf-miner.client) methods, use
```python
mc.browsers.client

instead to access alta.bims methods, use:
```python
bk.bims

``````