# How to convert files to ADAM format?

I would like to convert BAM and VCF files to ADAM format.

How do I do that?

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

• Could you provide a link to the package? It seems like it is this repository but I'm not sure.
– llrs
Jun 28, 2018 at 7:07