Package

org.hammerlab.genomics.loci

parsing

Permalink

package parsing

Visibility
  1. Public
  2. All

Type Members

  1. case class LociRange(contigName: ContigName, start: Locus, endOpt: Option[Locus]) extends ParsedLociRange with Product with Serializable

    Permalink
  2. final case class LociRanges(ranges: Iterable[LociRange]) extends AnyVal with ParsedLoci with Product with Serializable

    Permalink
  3. sealed trait ParsedLoci extends Any

    Permalink

    Representation of genomic-loci ranges that may be used to instantiate a org.hammerlab.genomics.loci.set.LociSet.

    Representation of genomic-loci ranges that may be used to instantiate a org.hammerlab.genomics.loci.set.LociSet.

    Constituent ranges can be open-ended, so a ParsedLoci is typically a short-lived intermediate representation between String representations of ranges (possibly originating from cmdline-flags or a file) and a org.hammerlab.genomics.loci.set.LociSet whose open-ended ranges have been "resolved" using contig-length information found in a BAM header.

    The two implementations are:

    • All: sentinel value representing all loci on all contigs.
    • LociRanges: a sequence of LociRanges denoting (possibly open-ended) genomic-intervals.

    Examples:

    • chr1,chrY
    • chr2:0-100
    • chr1:123-124,chr5:456-457
    • all
  4. sealed trait ParsedLociRange extends AnyRef

    Permalink

    Representation of a genomic range as parsed from a cmdline-flag or file.

    Representation of a genomic range as parsed from a cmdline-flag or file.

    Example ranges:

    • chr2:10-20
    • chr3
    • chr4:100-
    • all
    • none

Value Members

  1. object All extends ParsedLoci with Product with Serializable

    Permalink

    Special ParsedLoci value representing all genomic loci.

  2. object AllRange extends ParsedLociRange with Product with Serializable

    Permalink
  3. object LociRange extends Serializable

    Permalink
  4. object LociRanges extends Serializable

    Permalink
  5. object ParsedLoci

    Permalink
  6. object ParsedLociRange

    Permalink

Ungrouped