<ol>
<li>Download a release (Hammock_v_1.2.0.7z) from <a href="https://github.com/krejciadam/hammock/releases" rel="nofollow noreferrer">https://github.com/krejciadam/hammock/releases</a></li>
<li>Unzip</li>
<li>To run the first example:</li>
</ol>
<pre><code>cd /your_path/Hammock_v_1.2.0/examples/MUSI/
java -jar ../../dist/Hammock.jar full -i musi.fa
</code></pre>
<p>As mentioned in the comments, it's in the manual and any further issues need more information (errors etc).</p>

CC BY-SA 4.0
2021-03-12T09:15:42.240Z
2021-03-12T09:15:42.240Z
Michael
<p><em>Answer from @ram-rs, converted from comment:</em></p>
<p>There's a Hammock.jar file - there' no need to compile Hammock, although they recommend compiling dependencies. Have you tried running java -jar dist/Hammock.jar --help? Follow their steps from Example 1 - it should work.</p>

CC BY-SA 4.0
2021-05-13T03:12:01.930Z
2021-05-13T03:12:01.930Z
gringer
<p>I'm working with phage peptides libraries. Currently I'm analysing a massive data set from phage selection, NGS readout, preprocessed already (fasta file). I want to analyse the sequences to cluster peptides according to their consensus motifs. I found that Hammock may be helpful to do this.</p>
<p>Here is the GitHub repo for Hammock: <a href="https://github.com/krejciadam/hammock" rel="nofollow noreferrer">https://github.com/krejciadam/hammock</a>. I downloaded the master, unpacked it, but I don't know how to use it.</p>
<p>I guess I need to compile, but I have no idea what files need to be compiled, how to do it, what software I need use to compile etc.</p>
<p>I work with Mac/terminal.</p>

<clustering><software-installation>
How do I install hammock?
# How do I install hammock?

(Asked by: username_0 on 2021-03-11)

I'm working with phage peptides libraries. Currently I'm analysing a massive data set from phage selection, NGS readout, preprocessed already (fasta file). I want to analyse the sequences to cluster peptides according to their consensus motifs. I found that Hammock may be helpful to do this.

Here is the GitHub repo for Hammock: <https://github.com/krejciadam/hammock>. I downloaded the master, unpacked it, but I don't know how to use it.

I guess I need to compile, but I have no idea what files need to be compiled, how to do it, what software I need use to compile etc.

I work with Mac/terminal.

**Tags:** clustering, software-installation

---

## 2 answers

### Answer by username_1 on 2021-03-12. Score: 2

Download a release (Hammock_v_1.2.0.7z) from https://github.com/krejciadam/hammock/releases
Unzip
To run the first example:

cd /your_path/Hammock_v_1.2.0/examples/MUSI/
java -jar ../../dist/Hammock.jar full -i musi.fa

As mentioned in the comments, it's in the manual and any further issues need more information (errors etc).


---

### Answer by username_2 on 2021-05-13. Score: 0

*Answer from @ram-rs, converted from comment:*

There's a Hammock.jar file - there' no need to compile Hammock, although they recommend compiling dependencies. Have you tried running java -jar dist/Hammock.jar --help? Follow their steps from Example 1 - it should work.


---

