Skip to content

Commit

Permalink
Merge 2914723 into 78bb9e5
Browse files Browse the repository at this point in the history
  • Loading branch information
heuermh authored Dec 6, 2018
2 parents 78bb9e5 + 2914723 commit 5cb9095
Show file tree
Hide file tree
Showing 10 changed files with 589 additions and 500 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
def getSparkContext: JavaSparkContext = new JavaSparkContext(ac.sc)

/**
* Load alignment records into an AlignmentRecordDataset (java-friendly method).
* (Java-specific) Load alignment records into an AlignmentRecordDataset.
*
* Loads path names ending in:
* * .bam/.cram/.sam as BAM/CRAM/SAM format,
Expand Down Expand Up @@ -79,7 +79,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load alignment records into an AlignmentRecordDataset (java-friendly method).
* (Java-specific) Load alignment records into an AlignmentRecordDataset.
*
* Loads path names ending in:
* * .bam/.cram/.sam as BAM/CRAM/SAM format,
Expand Down Expand Up @@ -111,7 +111,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Functions like loadBam, but uses BAM index files to look at fewer blocks,
* (Java-specific) Functions like loadBam, but uses BAM index files to look at fewer blocks,
* and only returns records within the specified ReferenceRegions. BAM index file required.
*
* @param pathName The path name to load indexed BAM formatted alignment records from.
Expand All @@ -132,7 +132,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load nucleotide contig fragments into a NucleotideContigFragmentDataset (java-friendly method).
* (Java-specific) Load nucleotide contig fragments into a NucleotideContigFragmentDataset.
*
* If the path name has a .fa/.fasta extension, load as FASTA format.
* Else, fall back to Parquet + Avro.
Expand All @@ -152,7 +152,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load fragments into a FragmentDataset (java-friendly method).
* (Java-specific) Load fragments into a FragmentDataset.
*
* Loads path names ending in:
* * .bam/.cram/.sam as BAM/CRAM/SAM format and
Expand All @@ -175,7 +175,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load fragments into a FragmentDataset (java-friendly method).
* (Java-specific) Load fragments into a FragmentDataset.
*
* Loads path names ending in:
* * .bam/.cram/.sam as BAM/CRAM/SAM format and
Expand All @@ -200,7 +200,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load features into a FeatureDataset (java-friendly method).
* (Java-specific) Load features into a FeatureDataset.
*
* Loads path names ending in:
* * .bed as BED6/12 format,
Expand All @@ -227,7 +227,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load features into a FeatureDataset (java-friendly method).
* (Java-specific) Load features into a FeatureDataset.
*
* Loads path names ending in:
* * .bed as BED6/12 format,
Expand Down Expand Up @@ -257,7 +257,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load features into a FeatureDataset and convert to a CoverageDataset (java-friendly method).
* (Java-specific) Load features into a FeatureDataset and convert to a CoverageDataset.
* Coverage is stored in the score field of Feature.
*
* Loads path names ending in:
Expand Down Expand Up @@ -285,7 +285,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load features into a FeatureDataset and convert to a CoverageDataset (java-friendly method).
* (Java-specific) Load features into a FeatureDataset and convert to a CoverageDataset.
* Coverage is stored in the score field of Feature.
*
* Loads path names ending in:
Expand Down Expand Up @@ -317,7 +317,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load genotypes into a GenotypeDataset (java-friendly method).
* (Java-specific) Load genotypes into a GenotypeDataset.
*
* If the path name has a .vcf/.vcf.gz/.vcf.bgzf/.vcf.bgz extension, load as VCF format.
* Else, fall back to Parquet + Avro.
Expand All @@ -334,7 +334,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load genotypes into a GenotypeDataset (java-friendly method).
* (Java-specific) Load genotypes into a GenotypeDataset.
*
* If the path name has a .vcf/.vcf.gz/.vcf.bgzf/.vcf.bgz extension, load as VCF format.
* Else, fall back to Parquet + Avro.
Expand All @@ -354,7 +354,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load variants into a VariantDataset (java-friendly method).
* (Java-specific) Load variants into a VariantDataset.
*
* If the path name has a .vcf/.vcf.gz/.vcf.bgzf/.vcf.bgz extension, load as VCF format.
* Else, fall back to Parquet + Avro.
Expand All @@ -370,7 +370,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load variants into a VariantDataset (java-friendly method).
* (Java-specific) Load variants into a VariantDataset.
*
* If the path name has a .vcf/.vcf.gz/.vcf.bgzf/.vcf.bgz extension, load as VCF format.
* Else, fall back to Parquet + Avro.
Expand All @@ -388,7 +388,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load reference sequences into a broadcastable ReferenceFile (java-friendly method).
* (Java-specific) Load reference sequences into a broadcastable ReferenceFile.
*
* If the path name has a .2bit extension, loads a 2bit file. Else, uses loadContigFragments
* to load the reference as an RDD, which is then collected to the driver.
Expand All @@ -407,7 +407,7 @@ class JavaADAMContext(val ac: ADAMContext) extends Serializable {
}

/**
* Load reference sequences into a broadcastable ReferenceFile (java-friendly method).
* (Java-specific) Load reference sequences into a broadcastable ReferenceFile.
*
* If the path name has a .2bit extension, loads a 2bit file. Else, uses loadContigFragments
* to load the reference as an RDD, which is then collected to the driver. Uses a
Expand Down
Loading

0 comments on commit 5cb9095

Please sign in to comment.