Object/Class

io.projectglow.gff

GffDataSource

Related Docs: class GffDataSource | package gff

Permalink

object GffDataSource

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GffDataSource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAttributesMapColumn(df: DataFrame): DataFrame

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def checkAndGetPath(options: Map[String, String]): String

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def filterFastaLines(df: DataFrame): DataFrame

    Permalink
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def inferSchema(sqlContext: SQLContext, path: String): StructType

    Permalink

    Infers the schema by reading the gff file using csv data source and parsing the attributes fields to get official and unofficial attribute columns.

    Infers the schema by reading the gff file using csv data source and parsing the attributes fields to get official and unofficial attribute columns. Drops the original "attributes" column. Names, types and ordering of columns will be as follows: Names: All attribute fields will have names exactly as in tags. Types: Official attribute fields will have the types in io.projectglow.common.FeatureSchemas.gffOfficialAttributeFields. Detection of official field names among tags are case-and-underscore-insensitive. Unofficial attribute fields will have StringType. Ordering: gffBaseSchema fields come first, followed by official attributes fields as ordered in io.projectglow.common.FeatureSchemas.gffOfficialAttributeFields, followed by unofficial attribute fields in case-insensitive alphabetical order.

    returns

    inferred schema

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def normalizeAttributesMapKeys(df: DataFrame): DataFrame

    Permalink
  18. def normalizeString(s: String): String

    Permalink
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped