Skip to content

[ch-10] Updates to ADAM code examples #119

@heuermh

Description

@heuermh

I noted some ADAM code examples in the 2nd edition need updating:

adam-submit transformadam-submit transformAlignments

sc.broadcast(new TwoBitFile(...)sc.loadReferenceFile

All the region join calls are different, joins are methods on GenomicRDD, e.g. reads.leftOuterRegionShuffleJoin(features)

adam-submit vcf2adamadam-submit transformVariants or adam-submit transformGenotypes, for site-only VCF files or those with samples, respectively

ADAM docs are available at https://adam.readthedocs.io/en/latest/

ADAM is installable via Homebrew or Linuxbrew, Conda via BioConda, pip via PyPI, Docker via BioContainers, and hopefully soon in CRAN (once SparkR is back in CRAN, with the Spark 2.3 release perhaps?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions