ADAM: Avro Data Alignment Map
Supported tags and respective
What is Adam ?
ADAM provides both an application programming interface (API) and a command line interface (CLI) for manipulating genomic data on a computing cluster. ADAM operates on data stored inside of Parquet with the bdg-formats schemas, using Apache Spark, and provides scalable performance on clusters larger than 100 machines.
What is Docker?
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.
What is a Docker Image?
Docker images are the basis of containers. Images are read-only, while containers are writeable. Only the containers can be executed by the operating system.
How to use this image?
Converting a BAM / SAM file to the ADAM format
1) (Optional step) Download a small SAM file, if you don't have one handy.
mkdir -p $HOME/data wget -O $HOME/data/small.sam \ https://raw.githubusercontent.com/bigdatagenomics/adam/master/adam-core/src/test/resources/small.sam
2) Convert to the ADAM format in a new Adam container
docker run --rm=true -ti -v /data/:/data gelog/adam \ adam-submit transform \ $HOME/data/small.sam \ $HOME/data/small.adam
Docker Image Hierarchy
docker run --rm=true -ti -v $HOME/data/:/data