Skip to main content

Simple Python wrapper for autoclass-c.

Project description

Python wrapper for AutoClass C classification

License: BSD autoclasswrapper version on PyPI Build Status Documentation Status

AutoClass is an unsupervised Bayesian classification system.

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

Dev

1.0.0

  • Jump to major release

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

autoclasswrapper-1.0.0-py3-none-any.whl (16.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page