<p>These transformations are quite simple with the <code>adam-submit</code> script packaged with ADAM.</p>

<p><strong>Transformation of BAM files</strong> </p>

<pre><code>adam-submit -- transformAlignments sample.bam sample.alignments.adam
</code></pre>

<p><strong>Transformation of VCF files</strong></p>

<pre><code>adam-submit -- transformVariants sample.vcf.gz sample.variants.adam
</code></pre>

CC BY-SA 4.0
2018-06-28T07:07:06.237Z
Could you provide a link to the package? It seems like it is [this repository](https://github.com/bigdatagenomics/adam) but I'm not sure.
llrs
CC BY-SA 4.0
2018-06-28T01:40:33.247Z
2018-06-28T01:40:33.247Z
Jon Deaton
<p>I would like to convert BAM and VCF files to <a href="https://github.com/bigdatagenomics/adam" rel="nofollow noreferrer">ADAM</a> format.</p>

<p>How do I do that?</p>

<sam><vcf><adam>
How to convert files to ADAM format?
# How to convert files to ADAM format?

(Asked by: username_0 on 2018-06-27)

I would like to convert BAM and VCF files to [ADAM](https://github.com/bigdatagenomics/adam) format.

How do I do that?

**Tags:** sam, vcf, adam

---

## 1 answers

### Answer by username_0 on 2018-06-28. Score: 2 | Accepted answer

These transformations are quite simple with the adam-submit script packaged with ADAM.
Transformation of BAM files 
adam-submit -- transformAlignments sample.bam sample.alignments.adam

Transformation of VCF files
adam-submit -- transformVariants sample.vcf.gz sample.variants.adam

> **Comments:**
> **username_1**: Could you provide a link to the package? It seems like it is [this repository](https://github.com/bigdatagenomics/adam) but I'm not sure.  

---

