Skip to content

Commit

Permalink
install.sh added; README updated
Browse files Browse the repository at this point in the history
  • Loading branch information
snikumbh committed Jul 31, 2017
1 parent 9a0e9ec commit 624d6e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@ We use MKL implementation from Shogun's modular interface for Python. The Python
```MATLAB
git clone https://github.molgen.mpg.de/snikumbh/comik
cd comik
chmod +x mkl.py
export PATH=".:$PATH"
sh install.sh
```

## Usage:
Example function call from inside Matlab:
For simulated dataset 1 provided in the folder `sample_data`
See the example config file `config-comik.txt`, for an example function call from inside Matlab:
For simulated dataset 1 provided in the folder `sample_data/simulated_dataset1`
```Matlab
comik_wrapper('config-comik.txt');
```

See the example config file `config-comik.txt`.
_CoMIK_ requires two FASTA files as input -- the first FASTA file containing sequences in the positive class; the second FASTA file containing the sequences in the negative class. Other params are explained below.

Further details:

Values for the following parameters are required
Values for the following parameters are required to be set:

- positive FASTA filename [type: str]
- negative FASTA filename [type: str]
Expand All @@ -43,7 +39,7 @@ Values for the following parameters are required
- Indices of the test sequences [type: int, given as a Matlab vector]
- output-folder-name [type: str]

The rest have default values, which are good starting points.
The rest have default values, which can be good starting points.

Param name | type | default value | Additional comments
-----------|-------|---------------|---------------------
Expand Down
3 changes: 0 additions & 3 deletions export_paths.sh

This file was deleted.

5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Install CoMIK

chmod +x mkl.py
export PATH=".:$PATH"

0 comments on commit 624d6e4

Please sign in to comment.