Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-28T07:07:06.237Z
Answers.Text: 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.
Answers.UserDisplayName: llrs
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-28T01:40:33.247Z
Answers.LastActivityDate: 2018-06-28T01:40:33.247Z
Answers.UserDisplayName: Jon Deaton
Body: <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>
  
Tags: <sam><vcf><adam>
Title: How to convert files to ADAM format?
ThreadText: # 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.  
  
  ---
  
  