Skip to main content

Annotation Assisted Direct Coupling Analysis

Project description

ANNotation Assisted Direct Coupling Analisis (annaDCA)

This package contains the methods and scripts to train and sample an RBM model provided with data annotations.

Installation

Option 1: from PyPl

python -m pip install annaDCA

Option 2: cloning the repository

git clone https://github.com/rossetl/annaDCA.git
cd annaDCA
python -m pip install .

Usage

After installation, all the main routines can be launched through the command-line interface using the command annadca. To see all the training options do

annadca train -h

To train the model with default arguments do

annadca train -d <path_data> -a <path_annotations> -o <output_directory> -l <model_tag>

Input data format

The input data should be:

  • binary variables: plain text format. Each row is one data sample, variables are separated by white spaces
  • categorical variables: fasta format. Each data poin is a sequence of tokens with an header on top. The header row starts with >.

Annotation data format

Annotations bust be provided in a csv file with two columns. One column is called (mandatory!) Name, an the other column represents the labels and can have any chosen name.

For categorical varables, the Name field must match one of the headers in the fasta file, while for binay variables the order of the rows is used.

Un-annotated data should not be present in the annotation file.

Project details


Download files

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

Source Distribution

annadca-0.1.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

annadca-0.1.0-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file annadca-0.1.0.tar.gz.

File metadata

  • Download URL: annadca-0.1.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for annadca-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b9b25451fcc93f4dda7ff1d38527b2da6fd6f4d9947eee50dbe747fe7cefd38
MD5 5f9d505dd8b242df740619f79301467a
BLAKE2b-256 ce318e9c622b816240eb2b29145960358626c563804d5b49b6fa47e8f8075322

See more details on using hashes here.

File details

Details for the file annadca-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: annadca-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for annadca-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47a8815101714af0093309aae0f02e03a4934ae90bb3218f9c4e345993b7d9b6
MD5 ff8d279c97098e32a240d04677776d27
BLAKE2b-256 f491f9c21335bb4338c4ca1467b9bf83af45f84d140e2397aa35a372863ef34c

See more details on using hashes here.

Supported by

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