Elaborates out a directory/glob/plain path.
Elaborates out a directory/glob/plain path.
Path to elaborate.
The underlying file system that this path is on.
Returns an array of Paths to load.
FileNotFoundException
if the path does not match any files.
getFsAndFiles
Elaborates out a directory/glob/plain path.
Elaborates out a directory/glob/plain path.
Path to elaborate.
Returns an array of Paths to load.
FileNotFoundException
if the path does not match any files.
getFiles
Elaborates out a directory/glob/plain path name.
Elaborates out a directory/glob/plain path name.
Path name to elaborate.
Filter to discard paths.
Returns an array of Paths to load.
FileNotFoundException
if the path does not match any files.
getFiles
Return true if the specified path of Parquet + Avro files is partitioned.
Return true if the specified path of Parquet + Avro files is partitioned.
Path in which to look for partitioned flag.
Return true if the specified path of Parquet + Avro files is partitioned. Behavior is undefined if some paths in glob contain _partitionedByStartPos flag file and some do not.
Load the specified data frame, references, read groups, and processing steps into a AlignmentDataset.
Load the specified data frame, references, read groups, and processing steps into a AlignmentDataset.
Data frame to load from.
References for the AlignmentDataset, may be empty.
Read groups for the AlignmentDataset, may be empty.
Processing steps for the AlignmentDataset, may be empty.
Returns a new AlignmentDataset loaded from the specified data frame, references, read groups, and processing steps.
Load the specified data frame into a AlignmentDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a AlignmentDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new AlignmentDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a AlignmentDataset, with empty metadata.
Load the specified data frame into a AlignmentDataset, with empty metadata.
Data frame to load from.
Returns a new AlignmentDataset loaded from the specified data frame, with empty metadata.
Load alignments into an AlignmentDataset.
Load alignments into an AlignmentDataset.
Loads path names ending in: * .bam/.cram/.sam as BAM/CRAM/SAM format, * .fa/.fasta as FASTA format, * .fq/.fastq as FASTQ format, and * .ifq as interleaved FASTQ format.
If none of these match, fall back to Parquet + Avro.
For FASTA, FASTQ, and interleaved FASTQ formats, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load alignments from. Globs/directories are supported, although file extension must be present for BAM/CRAM/SAM, FASTA, and FASTQ formats.
The optional path name to load the second set of alignment records from, if loading paired FASTQ format. Globs/directories are supported, although file extension must be present. Defaults to None.
The optional read group identifier to associate to the alignment records. Defaults to None.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
The validation stringency to use when validating BAM/CRAM/SAM or FASTQ formats. Defaults to ValidationStringency.STRICT.
Returns an AlignmentDataset which wraps the genomic dataset of alignments, sequence dictionary representing reference sequences the alignments may be aligned to, and the read group dictionary for the alignments if one is available.
loadParquetAlignments
loadInterleavedFastq
loadFastaDna(String, Long)
loadFastq
loadBam
Load alignments from BAM/CRAM/SAM into an AlignmentDataset.
Load alignments from BAM/CRAM/SAM into an AlignmentDataset.
This reads the sequence and read group dictionaries from the BAM/CRAM/SAM file header. SAMRecords are read from the file and converted to the Alignment schema.
The path name to load BAM/CRAM/SAM formatted alignments from. Globs/directories are supported.
The validation stringency to use when validating the BAM/CRAM/SAM format header. Defaults to ValidationStringency.STRICT.
Returns an AlignmentDataset which wraps the genomic dataset of alignments, sequence dictionary representing reference sequences the alignments may be aligned to, and the read group dictionary for the alignments if one is available.
Load a path name in BED6/12 format into a FeatureDataset.
Load a path name in BED6/12 format into a FeatureDataset.
The path name to load features in BED6/12 format from. Globs/directories are supported.
Optional sequence dictionary. Defaults to None.
An optional minimum number of partitions to load. If not set, falls back to the configured Spark default parallelism. Defaults to None.
The validation stringency to use when validating BED6/12 format. Defaults to ValidationStringency.STRICT.
Returns a FeatureDataset.
Load features into a FeatureDataset and convert to a CoverageDataset.
Load features into a FeatureDataset and convert to a CoverageDataset. Coverage is stored in the score field of Feature.
Loads path names ending in: * .bed as BED6/12 format, * .gff3 as GFF3 format, * .gtf/.gff as GTF/GFF2 format, * .narrow[pP]eak as NarrowPeak format, and * .interval_list as IntervalList format.
If none of these match, fall back to Parquet + Avro.
For BED6/12, GFF3, GTF/GFF2, NarrowPeak, and IntervalList formats, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load features from. Globs/directories are supported, although file extension must be present for BED6/12, GFF3, GTF/GFF2, NarrowPeak, or IntervalList formats.
Optional sequence dictionary. Defaults to None.
An optional minimum number of partitions to use. For textual formats, if this is None, fall back to the Spark default parallelism. Defaults to None.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
The validation stringency to use when validating BED6/12, GFF3, GTF/GFF2, NarrowPeak, or IntervalList formats. Defaults to ValidationStringency.STRICT.
Returns a FeatureDataset converted to a CoverageDataset.
loadParquetFeatures
loadIntervalList
loadNarrowPeak
loadGff3
loadGtf
loadBed
Load DNA sequences into a SequenceDataset.
Load DNA sequences into a SequenceDataset.
If the path name has a .fa/.fasta extension, load as FASTA format. Else, fall back to Parquet + Avro.
For FASTA format, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load sequences from. Globs/directories are supported, although file extension must be present for FASTA format.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An optional projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a SequenceDataset containing DNA sequences.
loadParquetSequences
loadFastaDna
Load DNA slices from FASTA into a SliceDataset.
Load DNA slices from FASTA into a SliceDataset.
The path name to load slices from. Globs/directories are supported.
Maximum fragment length. Values greater than 1e9 should be avoided.
Returns a SliceDataset containing DNA slices.
Load DNA sequences from FASTA into a SequenceDataset.
Load DNA sequences from FASTA into a SequenceDataset.
The path name to load sequences from. Globs/directories are supported.
Returns a SequenceDataset containing DNA sequences.
Load protein sequences from FASTA into a SequenceDataset.
Load protein sequences from FASTA into a SequenceDataset.
The path name to load sequences from. Globs/directories are supported.
Returns a SequenceDataset containing protein sequences.
Load RNA sequences from FASTA into a SequenceDataset.
Load RNA sequences from FASTA into a SequenceDataset.
The path name to load sequences from. Globs/directories are supported.
Returns a SequenceDataset containing RNA sequences.
Load unaligned alignments from (possibly paired) FASTQ into an AlignmentDataset.
Load unaligned alignments from (possibly paired) FASTQ into an AlignmentDataset.
The path name to load the first set of unaligned alignments from. Globs/directories are supported.
The path name to load the second set of unaligned alignments from, if provided. Globs/directories are supported.
The optional read group identifier to associate to the unaligned alignment records. Defaults to None.
The validation stringency to use when validating (possibly paired) FASTQ format. Defaults to ValidationStringency.STRICT.
Returns an unaligned AlignmentDataset.
loadUnpairedFastq
loadPairedFastq
Load the specified data frame, references, and samples into a FeatureDataset.
Load the specified data frame, references, and samples into a FeatureDataset.
Data frame to load from.
References for the FeatureDataset, may be empty.
Samples for the FeatureDataset, may be empty.
Returns a new FeatureDataset loaded from the specified data frame, references, and samples.
Load the specified data frame into a FeatureDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a FeatureDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new FeatureDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a FeatureDataset, with empty metadata.
Load the specified data frame into a FeatureDataset, with empty metadata.
Data frame to load from.
Returns a new FeatureDataset loaded from the specified data frame, with empty metadata.
Load features into a FeatureDataset.
Load features into a FeatureDataset.
Loads path names ending in: * .bed as BED6/12 format, * .gff3 as GFF3 format, * .gtf/.gff as GTF/GFF2 format, * .narrow[pP]eak as NarrowPeak format, and * .interval_list as IntervalList format.
If none of these match, fall back to Parquet + Avro.
For BED6/12, GFF3, GTF/GFF2, NarrowPeak, and IntervalList formats, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load features from. Globs/directories are supported, although file extension must be present for BED6/12, GFF3, GTF/GFF2, NarrowPeak, or IntervalList formats.
Optional sequence dictionary. Defaults to None.
An optional minimum number of partitions to use. For textual formats, if this is None, fall back to the Spark default parallelism. Defaults to None.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
The validation stringency to use when validating BED6/12, GFF3, GTF/GFF2, NarrowPeak, or IntervalList formats. Defaults to ValidationStringency.STRICT.
Returns a FeatureDataset.
loadParquetFeatures
loadIntervalList
loadNarrowPeak
loadGff3
loadGtf
loadBed
Load the specified data frame, references, read groups, and processing steps into a FragmentDataset.
Load the specified data frame, references, read groups, and processing steps into a FragmentDataset.
Data frame to load from.
References for the FragmentDataset, may be empty.
Read groups for the FragmentDataset, may be empty.
Processing steps for the FragmentDataset, may be empty.
Returns a new FragmentDataset loaded from the specified data frame, references, read groups, and processing steps.
Load the specified data frame into a FragmentDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a FragmentDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new FragmentDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a FragmentDataset, with empty metadata.
Load the specified data frame into a FragmentDataset, with empty metadata.
Data frame to load from.
Returns a new FragmentDataset loaded from the specified data frame, with empty metadata.
Load fragments into a FragmentDataset.
Load fragments into a FragmentDataset.
Loads path names ending in: * .bam/.cram/.sam as BAM/CRAM/SAM format and * .ifq as interleaved FASTQ format.
If none of these match, fall back to Parquet + Avro.
For interleaved FASTQ format, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load fragments from. Globs/directories are supported, although file extension must be present for BAM/CRAM/SAM and FASTQ formats.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
The validation stringency to use when validating BAM/CRAM/SAM or FASTQ formats. Defaults to ValidationStringency.STRICT.
Returns a FragmentDataset.
loadParquetFragments
loadInterleavedFastqAsFragments
loadAlignments
loadBam
Load the specified data frame, references, samples, and header lines into a GenotypeDataset.
Load the specified data frame, references, samples, and header lines into a GenotypeDataset.
Data frame to load from.
References for the GenotypeDataset, may be empty.
Samples for the GenotypeDataset, may be empty.
Header lines for the GenotypeDataset, may be empty.
Returns a new GenotypeDataset loaded from the specified data frame, references, samples, and header lines.
Load the specified data frame, references, samples, and header lines into a GenotypeDataset, with the default header lines.
Load the specified data frame, references, samples, and header lines into a GenotypeDataset, with the default header lines.
Data frame to load from.
References for the GenotypeDataset, may be empty.
Samples for the GenotypeDataset, may be empty.
Returns a new GenotypeDataset loaded from the specified data frame, references, and samples, with the default header lines.
Load the specified data frame into a GenotypeDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a GenotypeDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new GenotypeDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a GenotypeDataset, with empty metadata and the default header lines.
Load the specified data frame into a GenotypeDataset, with empty metadata and the default header lines.
Data frame to load from.
Returns a new GenotypeDataset loaded from the specified data frame, with empty metadata and the default header lines.
Load genotypes into a GenotypeDataset.
Load genotypes into a GenotypeDataset.
If the path name has a .vcf/.vcf.gz/.vcf.bgz extension, load as VCF format. Else, fall back to Parquet + Avro.
The path name to load genotypes from. Globs/directories are supported, although file extension must be present for VCF format.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
The validation stringency to use when validating VCF format. Defaults to ValidationStringency.STRICT.
Returns a GenotypeDataset.
loadParquetGenotypes
loadVcf
Load a path name in GFF3 format into a FeatureDataset.
Load a path name in GFF3 format into a FeatureDataset.
The path name to load features in GFF3 format from. Globs/directories are supported.
Optional sequence dictionary. Defaults to None.
An optional minimum number of partitions to load. If not set, falls back to the configured Spark default parallelism. Defaults to None.
The validation stringency to use when validating GFF3 format. Defaults to ValidationStringency.STRICT.
Returns a FeatureDataset.
Load a path name in GTF/GFF2 format into a FeatureDataset.
Load a path name in GTF/GFF2 format into a FeatureDataset.
The path name to load features in GTF/GFF2 format from. Globs/directories are supported.
Optional sequence dictionary. Defaults to None.
An optional minimum number of partitions to load. If not set, falls back to the configured Spark default parallelism. Defaults to None.
The validation stringency to use when validating GTF/GFF2 format. Defaults to ValidationStringency.STRICT.
Returns a FeatureDataset.
Functions like loadBam, but uses BAM index files to look at fewer blocks, and only returns records within the specified ReferenceRegions.
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.
The path name to load indexed BAM formatted alignments from. Globs/directories are supported.
Iterable of ReferenceRegion we are filtering on.
The validation stringency to use when validating the BAM/CRAM/SAM format header. Defaults to ValidationStringency.STRICT.
Returns an AlignmentDataset which wraps the genomic dataset of alignments, sequence dictionary representing reference sequences the alignments may be aligned to, and the read group dictionary for the alignments if one is available.
Functions like loadBam, but uses BAM index files to look at fewer blocks, and only returns records within a specified ReferenceRegion.
Functions like loadBam, but uses BAM index files to look at fewer blocks, and only returns records within a specified ReferenceRegion. BAM index file required.
The path name to load indexed BAM formatted alignments from. Globs/directories are supported.
The ReferenceRegion we are filtering on.
Returns an AlignmentDataset which wraps the genomic dataset of alignments, sequence dictionary representing reference sequences the alignments may be aligned to, and the read group dictionary for the alignments if one is available.
Load variant context records from VCF indexed by tabix (tbi) into a VariantContextDataset.
Load variant context records from VCF indexed by tabix (tbi) into a VariantContextDataset.
The path name to load VCF variant context records from. Globs/directories are supported.
Iterator of ReferenceRegions we are filtering on.
The validation stringency to use when validating VCF format. Defaults to ValidationStringency.STRICT.
Returns a VariantContextDataset.
Load variant context records from VCF indexed by tabix (tbi) into a VariantContextDataset.
Load variant context records from VCF indexed by tabix (tbi) into a VariantContextDataset.
The path name to load VCF variant context records from. Globs/directories are supported.
ReferenceRegion we are filtering on.
Returns a VariantContextDataset.
Load unaligned alignments from interleaved FASTQ into an AlignmentDataset.
Load unaligned alignments from interleaved FASTQ into an AlignmentDataset.
In interleaved FASTQ, the two reads from a paired sequencing protocol are interleaved in a single file. This is a zipped representation of the typical paired FASTQ.
The path name to load unaligned alignments from. Globs/directories are supported.
Returns an unaligned AlignmentDataset.
Load paired unaligned alignments grouped by sequencing fragment from interleaved FASTQ into an FragmentDataset.
Load paired unaligned alignments grouped by sequencing fragment from interleaved FASTQ into an FragmentDataset.
In interleaved FASTQ, the two reads from a paired sequencing protocol are interleaved in a single file. This is a zipped representation of the typical paired FASTQ.
Fragments represent all of the reads from a single sequenced fragment as a single object, which is a useful representation for some tasks.
The path name to load unaligned alignments from. Globs/directories are supported.
Returns a FragmentDataset containing the paired reads grouped by sequencing fragment.
Load a path name in IntervalList format into a FeatureDataset.
Load a path name in IntervalList format into a FeatureDataset.
The path name to load features in IntervalList format from. Globs/directories are supported.
An optional minimum number of partitions to load. If not set, falls back to the configured Spark default parallelism. Defaults to None.
The validation stringency to use when validating IntervalList format. Defaults to ValidationStringency.STRICT.
Returns a FeatureDataset.
Load a path name in NarrowPeak format into a FeatureDataset.
Load a path name in NarrowPeak format into a FeatureDataset.
The path name to load features in NarrowPeak format from. Globs/directories are supported.
Optional sequence dictionary. Defaults to None.
An optional minimum number of partitions to load. If not set, falls back to the configured Spark default parallelism. Defaults to None.
The validation stringency to use when validating NarrowPeak format. Defaults to ValidationStringency.STRICT.
Returns a FeatureDataset.
Load unaligned alignments from paired FASTQ into an AlignmentDataset.
Load unaligned alignments from paired FASTQ into an AlignmentDataset.
The path name to load the first set of unaligned alignments from. Globs/directories are supported.
The path name to load the second set of unaligned alignments from. Globs/directories are supported.
The optional read group identifier to associate to the unaligned alignment records. Defaults to None.
An optional persistance level to set. If this level is set, then reads will be cached (at the given persistance) level as part of validation. Defaults to StorageLevel.MEMORY_ONLY.
The validation stringency to use when validating paired FASTQ format. Defaults to ValidationStringency.STRICT.
Returns an unaligned AlignmentDataset.
Load paired unaligned alignments grouped by sequencing fragment from paired FASTQ files into an FragmentDataset.
Load paired unaligned alignments grouped by sequencing fragment from paired FASTQ files into an FragmentDataset.
Fragments represent all of the reads from a single sequenced fragment as a single object, which is a useful representation for some tasks.
The path name to load the first set of unaligned alignments from. Globs/directories are supported.
The path name to load the second set of unaligned alignments from. Globs/directories are supported.
The optional read group identifier to associate to the unaligned alignment records. Defaults to None.
An optional persistance level to set. If this level is set, then reads will be cached (at the given persistance) level as part of validation. Defaults to StorageLevel.MEMORY_ONLY.
The validation stringency to use when validating paired FASTQ format. Defaults to ValidationStringency.STRICT.
Returns a FragmentDataset containing the paired reads grouped by sequencing fragment.
Load a path name in Parquet + Avro format into an RDD.
Load a path name in Parquet + Avro format into an RDD.
The type of records to return.
The path name to load Parquet + Avro formatted data from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
An RDD with records of the specified type.
Load a path name in Parquet + Avro format into an AlignmentDataset.
Load a path name in Parquet + Avro format into an AlignmentDataset.
The path name to load alignments from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
Returns an AlignmentDataset which wraps the genomic dataset of alignments, sequence dictionary representing reference sequences the alignments may be aligned to, and the read group dictionary for the alignments if one is available.
The sequence dictionary is read from an Avro file stored at pathName/_references.avro and the read group dictionary is read from an Avro file stored at pathName/_readGroups.avro. These files are pure Avro, not Parquet + Avro.
Load a path name in Parquet + Avro format into a FeatureDataset and convert to a CoverageDataset.
Load a path name in Parquet + Avro format into a FeatureDataset and convert to a CoverageDataset. Coverage is stored in the score field of Feature.
The path name to load features from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
Forces loading the RDD.
Returns a FeatureDataset converted to a CoverageDataset.
Load a path name in Parquet + Avro format into a FeatureDataset.
Load a path name in Parquet + Avro format into a FeatureDataset.
The path name to load features from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a FeatureDataset.
Load a path name in Parquet + Avro format into a FragmentDataset.
Load a path name in Parquet + Avro format into a FragmentDataset.
The path name to load fragments from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a FragmentDataset.
Load a path name in Parquet + Avro format into a GenotypeDataset.
Load a path name in Parquet + Avro format into a GenotypeDataset.
The path name to load genotypes from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a GenotypeDataset.
Load a path name in Parquet + Avro format into a ReadDataset.
Load a path name in Parquet + Avro format into a ReadDataset.
The path name to load reads from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An optional projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a ReadDataset.
Load a path name in Parquet + Avro format into a SequenceDataset.
Load a path name in Parquet + Avro format into a SequenceDataset.
The path name to load sequences from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An optional projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a SequenceDataset.
Load a path name in Parquet + Avro format into a SliceDataset.
Load a path name in Parquet + Avro format into a SliceDataset.
The path name to load slices from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An optional projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a SliceDataset.
Load a path name in Parquet + Avro format into a VariantContextDataset.
Load a path name in Parquet + Avro format into a VariantContextDataset.
The path name to load variant context records from. Globs/directories are supported.
Returns a VariantContextDataset.
Load a path name in Parquet format into a VariantDataset.
Load a path name in Parquet format into a VariantDataset.
The path name to load variants from. Globs/directories are supported.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a VariantDataset.
Load a path name with range binned partitioned Parquet format into an AlignmentDataset.
Load a path name with range binned partitioned Parquet format into an AlignmentDataset.
The path name to load alignments from. Globs/directories are supported.
Optional list of genomic regions to load.
Number of partitions to lookback to find beginning of an overlapping region when using the filterByOverlappingRegions function on the returned dataset. Defaults to one partition.
Returns an AlignmentDataset.
The sequence dictionary is read from an Avro file stored at pathName/_references.avro and the read group dictionary is read from an Avro file stored at pathName/_readGroups.avro. These files are pure Avro, not Parquet + Avro.
Load a path name with range binned partitioned Parquet format into a FeatureDataset.
Load a path name with range binned partitioned Parquet format into a FeatureDataset.
The path name to load alignments from. Globs/directories are supported.
Optional list of genomic regions to load.
Number of partitions to lookback to find beginning of an overlapping region when using the filterByOverlappingRegions function on the returned dataset. Defaults to one partition.
Returns a FeatureDataset.
Load a path name with range binned partitioned Parquet format into a GenotypeDataset.
Load a path name with range binned partitioned Parquet format into a GenotypeDataset.
The path name to load alignments from. Globs/directories are supported.
Optional list of genomic regions to load.
Number of partitions to lookback to find beginning of an overlapping region when using the filterByOverlappingRegions function on the returned dataset. Defaults to one partition.
Returns a GenotypeDataset.
Load a path name with range binned partitioned Parquet format into a VariantContextDataset.
Load a path name with range binned partitioned Parquet format into a VariantContextDataset.
The path name to load variant context records from. Globs/directories are supported.
Optional list of genomic regions to load.
Number of partitions to lookback to find beginning of an overlapping region when using the filterByOverlappingRegions function on the returned dataset. Defaults to one partition.
Returns a VariantContextDataset.
Load a path name with range binned partitioned Parquet format into a VariantDataset.
Load a path name with range binned partitioned Parquet format into a VariantDataset.
The path name to load alignments from. Globs/directories are supported.
Optional list of genomic regions to load.
Number of partitions to lookback to find beginning of an overlapping region when using the filterByOverlappingRegions function on the returned dataset. Defaults to one partition.
Returns a VariantDataset.
Load protein sequences into a SequenceDataset.
Load protein sequences into a SequenceDataset.
If the path name has a .fa/.fasta extension, load as FASTA format. Else, fall back to Parquet + Avro.
For FASTA format, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load sequences from. Globs/directories are supported, although file extension must be present for FASTA format.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An optional projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a SequenceRDD containing protein sequences.
loadParquetSequences
loadFastaProtein
Load the specified data frame and references into a ReadDataset.
Load the specified data frame and references into a ReadDataset.
Data frame to load from.
References for the ReadDataset, may be empty.
Returns a new ReadDataset loaded from the specified data frame and references.
Load the specified data frame into a ReadDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a ReadDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new ReadDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a ReadDataset, with empty metadata.
Load the specified data frame into a ReadDataset, with empty metadata.
Data frame to load from.
Returns a new ReadDataset loaded from the specified data frame, with empty metadata.
Load reference sequences into a broadcastable ReferenceFile.
Load reference sequences into a broadcastable ReferenceFile.
If the path name has a .2bit extension, loads a 2bit file. Else, uses loadSlices to load the reference as an RDD, which is then collected to the driver.
The path name to load reference sequences from. Globs/directories for 2bit format are not supported.
Maximum fragment length. Defaults to 10000L. Values greater than 1e9 should be avoided.
Returns a broadcastable ReferenceFile.
loadSlices
Load RNA sequences into a SequenceDataset.
Load RNA sequences into a SequenceDataset.
If the path name has a .fa/.fasta extension, load as FASTA format. Else, fall back to Parquet + Avro.
For FASTA format, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load sequences from. Globs/directories are supported, although file extension must be present for FASTA format.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An optional projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a SequenceDataset containing RNA sequences.
loadParquetSequences
loadFastaRna
Load a sequence dictionary.
Load a sequence dictionary.
Loads path names ending in: * .dict as HTSJDK sequence dictionary format, * .genome as Bedtools genome file format, * .txt as UCSC Genome Browser chromInfo files.
Compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load a sequence dictionary from.
Returns a sequence dictionary.
IllegalArgumentException
if pathName file extension not one of .dict,
.genome, or .txt
Load the specified data frame and references into a SequenceDataset.
Load the specified data frame and references into a SequenceDataset.
Data frame to load from.
References for the SequenceDataset, may be empty.
Returns a new SequenceDataset loaded from the specified data frame and references.
Load the specified data frame into a SequenceDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a SequenceDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new SequenceDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a SequenceDataset, with empty metadata.
Load the specified data frame into a SequenceDataset, with empty metadata.
Data frame to load from.
Returns a new SequenceDataset loaded from the specified data frame, with empty metadata.
Load the specified data frame and references into a SliceDataset.
Load the specified data frame and references into a SliceDataset.
Data frame to load from.
References for the SliceDataset, may be empty.
Returns a new SliceDataset loaded from the specified data frame and references.
Load the specified data frame into a SliceDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a SliceDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new SliceDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a SliceDataset, with empty metadata.
Load the specified data frame into a SliceDataset, with empty metadata.
Data frame to load from.
Returns a new SliceDataset loaded from the specified data frame, with empty metadata.
Load slices into a SliceDataset.
Load slices into a SliceDataset.
If the path name has a .fa/.fasta extension, load as DNA in FASTA format. Else, fall back to Parquet + Avro.
For FASTA format, compressed files are supported through compression codecs configured in Hadoop, which by default include .gz and .bz2, but can include more.
The path name to load DNA slices from. Globs/directories are supported, although file extension must be present for FASTA format.
Maximum slice length. Defaults to 10000L. Values greater than 1e9 should be avoided.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An optional projection schema to use when reading Parquet + Avro. Defaults to None.
Returns a SliceDataset.
loadParquetSlices
loadFastaDna(String, Long)
Load unaligned alignments from unpaired FASTQ into an AlignmentDataset.
Load unaligned alignments from unpaired FASTQ into an AlignmentDataset.
The path name to load unaligned alignments from. Globs/directories are supported.
If true, sets the unaligned alignment as first from the fragment. Defaults to false.
If true, sets the unaligned alignment as second from the fragment. Defaults to false.
The optional read group identifier to associate to the unaligned alignment records. Defaults to None.
The validation stringency to use when validating unpaired FASTQ format. Defaults to ValidationStringency.STRICT.
Returns an unaligned AlignmentDataset.
Load the specified data frame, references, samples, and header lines into a VariantContextDataset.
Load the specified data frame, references, samples, and header lines into a VariantContextDataset.
Data frame to load from.
References for the VariantContextDataset, may be empty.
Samples for the VariantContextDataset, may be empty.
Header lines for the VariantContextDataset, may be empty.
Returns a new VariantContextDataset loaded from the specified data frame, references, samples, and header lines.
Load the specified data frame, references, and samples into a VariantContextDataset, with the default header lines.
Load the specified data frame, references, and samples into a VariantContextDataset, with the default header lines.
Data frame to load from.
References for the VariantContextDataset, may be empty.
Samples for the GenotypeDataset, may be empty.
Returns a new VariantContextDataset loaded from the specified data frame, references, and samples, with the default header lines.
Load the specified data frame into a VariantContextDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a VariantContextDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new VariantContextDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a VariantContextDataset, with empty metadata and the default header lines.
Load the specified data frame into a VariantContextDataset, with empty metadata and the default header lines.
Data frame to load from.
Returns a new VariantContextDataset loaded from the specified data frame, with empty metadata and the default header lines.
Load a path name in VCF or Parquet format into a VariantContextDataset.
Load a path name in VCF or Parquet format into a VariantContextDataset.
The path name to load variant context records from. Globs/directories are supported.
Returns a VariantContextDataset.
Load a path name in VCF or Parquet format into a VariantContextDataset.
Load a path name in VCF or Parquet format into a VariantContextDataset.
The path name to load variant context records from. Globs/directories are supported.
The validation stringency to use when validating VCF format.
Returns a VariantContextDataset.
Load the specified data frame, references, and header lines into a VariantDataset.
Load the specified data frame, references, and header lines into a VariantDataset.
Data frame to load from.
References for the VariantDataset, may be empty.
Header lines for the VariantDataset, may be empty.
Returns a new VariantDataset loaded from the specified data frame, references, and header lines.
Load the specified data frame and references into a VariantDataset, with the default header lines.
Load the specified data frame and references into a VariantDataset, with the default header lines.
Data frame to load from.
References for the VariantDataset, may be empty.
Returns a new VariantDataset loaded from the specified data frame and references, with the default header lines.
Load the specified data frame into a VariantDataset, with metadata loaded from the specified metadata path name.
Load the specified data frame into a VariantDataset, with metadata loaded from the specified metadata path name.
Data frame to load from.
Path name to load metadata from.
Returns a new VariantDataset loaded from the specified data frame, with metadata loaded from the specified metadata path name.
Load the specified data frame into a VariantDataset, with empty metadata and the default header lines.
Load the specified data frame into a VariantDataset, with empty metadata and the default header lines.
Data frame to load from.
Returns a new VariantDataset loaded from the specified data frame, with empty metadata and the default header lines.
Load variants into a VariantDataset.
Load variants into a VariantDataset.
If the path name has a .vcf/.vcf.gz/.vcf.bgz extension, load as VCF format. Else, fall back to Parquet + Avro.
The path name to load variants from. Globs/directories are supported, although file extension must be present for VCF format.
An optional pushdown predicate to use when reading Parquet + Avro. Defaults to None.
An option projection schema to use when reading Parquet + Avro. Defaults to None.
The validation stringency to use when validating VCF format. Defaults to ValidationStringency.STRICT.
Returns a VariantDataset.
loadParquetVariants
loadVcf
Load variant context records from VCF into a VariantContextDataset.
Load variant context records from VCF into a VariantContextDataset.
The path name to load VCF variant context records from. Globs/directories are supported.
The validation stringency to use when validating VCF format. Defaults to ValidationStringency.STRICT.
Returns a VariantContextDataset.
Load variant context records from VCF into a VariantContextDataset.
Load variant context records from VCF into a VariantContextDataset.
Only converts the core Genotype/Variant fields, and the fields set in the requested projection. Core variant fields include:
* Names (ID) * Filters (FILTER)
Core genotype fields include:
* Allelic depth (AD) * Read depth (DP) * Min read depth (MIN_DP) * Genotype quality (GQ) * Genotype likelihoods (GL/PL) * Strand bias components (SB) * Phase info (PS,PQ)
The path name to load VCF variant context records from. Globs/directories are supported.
The info fields to include, in addition to the ID and FILTER attributes.
The format fields to include, in addition to the core fields listed above.
The validation stringency to use when validating VCF format. Defaults to ValidationStringency.STRICT.
Returns a VariantContextDataset.
The SparkContext to wrap.
The ADAMContext provides functions on top of a SparkContext for loading genomic data.