Metadata-Version: 2.1
Name: autoclasswrapper
Version: 0.2.2
Summary: Simple Python wrapper for autoclass-c.
Home-page: https://github.com/pierrepo/autoclasswrapper
Author: Pierre Poulain
Author-email: pierre.poulain@cupnet.net
License: BSD 3-Clause License
Keywords: autoclass,clustering,proteins,genes
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=3.4
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: scipy
Requires-Dist: matplotlib
Requires-Dist: chardet

# Python wrapper for AutoClass clustering

[![License: BSD](https://img.shields.io/badge/License-BSD-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)   [![autoclasswrapper version on PyPI](https://badge.fury.io/py/autoclasswrapper.svg)](https://pypi.python.org/pypi/autoclasswrapper)   [![Build Status](https://travis-ci.org/pierrepo/autoclasswrapper.svg?branch=master)](https://travis-ci.org/pierrepo/autoclasswrapper)
[![Documentation Status](https://readthedocs.org/projects/autoclasswrapper/badge/?version=latest)](https://autoclasswrapper.readthedocs.io/en/latest/?badge=latest)


AutoClass is an unsupervised Bayesian classification system.

[AutoClass C](https://ti.arc.nasa.gov/tech/rse/synthesis-projects-applications/autoclass/autoclass-c/) is an implementation of the AutoClass algorithm made by the NASA.

autoclasswrapper is a Python wrapper to ease the use of Autoclass C.


## Quick install
```
$ python3 -m pip install autoclasswrapper
```
or
```
$ pipenv --three
$ pipenv install autoclasswrapper
```


## Documentation

Documentation is available [here](https://autoclasswrapper.readthedocs.io/en/latest/)



**Dev**

**0.2.2**
- Remove wrap method for results
- Update list of athorized characters in column names

**0.2.1**
- Move function utilities to tools.py
- Change defaut filename to 'autoclass'

**0.2.0**
- Fix error decorator for Sphinx doc generation
- Use 'class' (instead of 'cluster') for consistency
- Move get_autoclass_version() out of Run() class
- Create file marker upon autoclass run success/failure

**0.1.14**
- update missing dependencies in setup.cfg
- improve PEP 8 and PEP 257 compliance
- add documentation (Sphinx)

**0.1.13**
- print Exception content for check_data_type()
- output class probability for every gene/protein
- simplify the calculation of cluster stats
- class/cluster numbering starts at 1 (0-based in autoclass output)
- add dendrogram of classes
- add reproducible run option (test only)
- add tests for Input() class
- add tests for Output() class
- add tests for Run() class

**0.1.12**
- update write_cluster_stats() methods with mean/std column
- output data+clusters in clust_data.tsv

**0.1.11**
- add nohup while running autoclass script

**0.1.10**
- search_autoclass_in_path() returns the PATH

**0.1.9**
- check autoclass-c executable is in PATH
- building and running script are in Run() class

**0.1.8**
- add env in Popen()

**0.1.7**
- add missing dependencies

**0.1.6**
- move distribution package to bdist_wheel

**0.1.5**
- move config options to setup.cfg

**0.1.4**
- add MANIFEST.in

**0.1.3**
- remove tests from Python package

**0.1.2**
- add Markdown support for README description

BSD 3-Clause License

Copyright (c) 2018, Pierre Poulain
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



