Class/Object

dagr.tasks.vc

FilterFreeBayesCalls

Related Docs: object FilterFreeBayesCalls | package vc

Permalink

class FilterFreeBayesCalls extends ProcessTask with Configuration with FixedResources

Applies various filters and ensures proper VCF formatting for variants produced by FreeBayes.

This application of tools follows the procedure in bcbio's use of FreeBayes: https://github.com/chapmanb/bcbio-nextgen/blob/master/bcbio/variation/freebayes.py Briefly, does the following in order: - fix ambiguous (IUPAC) reference base calls - remove alternate alleles that are not called in any sample - split MNP variants into multiple records - updates AC and NS - sort records using a fixed length window - standardizes the representation of variants using parsimony and left-alignment relative to the reference genome* - remove both duplicate and reference alternate alleles

* See: http://genome.sph.umich.edu/wiki/Variant_Normalization

* Tool Requirements: - vcflib (https://github.com/vcflib/vcflib - vt (https://github.com/atks/vt) - bcftools (https://samtools.github.io/bcftools/) - bgzip (https://github.com/samtools/htslib)

You can set the path to the various scripts and executables within the configuration, or make sure they are on your PATH.

Linear Supertypes
FixedResources, ScheduleWithEmptyDefaultResources, Configuration, ConfigurationLike, ProcessTask, UnitTask, Schedulable, LazyLogging, Task, Dependable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FilterFreeBayesCalls
  2. FixedResources
  3. ScheduleWithEmptyDefaultResources
  4. Configuration
  5. ConfigurationLike
  6. ProcessTask
  7. UnitTask
  8. Schedulable
  9. LazyLogging
  10. Task
  11. Dependable
  12. AnyRef
  13. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FilterFreeBayesCalls(in: PathToVcf, out: PathToVcf, ref: PathToFasta, compress: Boolean = true, somatic: Boolean = false, minQual: Int = 5)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !=>(other: MultiTask): other.type

    Permalink
    Definition Classes
    Task → Dependable
  3. def !=>(other: Task): other.type

    Permalink
    Definition Classes
    Task → Dependable
  4. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  5. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to any2stringadd[FilterFreeBayesCalls] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  6. def ->[B](y: B): (FilterFreeBayesCalls, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to ArrowAssoc[FilterFreeBayesCalls] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. def ::(other: Task): MultiTask

    Permalink
    Definition Classes
    Task
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def ==>(other: MultiTask): other.type

    Permalink
    Definition Classes
    Task → Dependable
  10. def ==>(other: Task): other.type

    Permalink
    Definition Classes
    Task → Dependable
  11. def applyResources(resources: ResourceSet): Unit

    Permalink
    Definition Classes
    UnitTask → Schedulable
  12. def args: Seq[Any]

    Permalink
    Definition Classes
    FilterFreeBayesCalls → ProcessTask
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def asType[T](path: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    ConfigurationLike
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def commandLineName: String

    Permalink
    Definition Classes
    ConfigurationLike
  17. val compress: Boolean

    Permalink
  18. def config: Config

    Permalink
    Attributes
    protected
    Definition Classes
    Configuration → ConfigurationLike
  19. def configure[T](path: String, defaultValue: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Permalink
    Definition Classes
    ConfigurationLike
  20. def configure[T](path: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Permalink
    Definition Classes
    ConfigurationLike
  21. def configureExecutable(path: String, executable: String): Path

    Permalink
    Definition Classes
    ConfigurationLike
  22. def configureExecutableFromBinDirectory(binPath: String, executable: String): Path

    Permalink
    Definition Classes
    ConfigurationLike
  23. def ensuring(cond: (FilterFreeBayesCalls) ⇒ Boolean, msg: ⇒ Any): FilterFreeBayesCalls

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to Ensuring[FilterFreeBayesCalls] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: (FilterFreeBayesCalls) ⇒ Boolean): FilterFreeBayesCalls

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to Ensuring[FilterFreeBayesCalls] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean, msg: ⇒ Any): FilterFreeBayesCalls

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to Ensuring[FilterFreeBayesCalls] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean): FilterFreeBayesCalls

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to Ensuring[FilterFreeBayesCalls] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to StringFormat[FilterFreeBayesCalls] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def getTasks: Traversable[_ <: FilterFreeBayesCalls.this.type]

    Permalink
    Definition Classes
    UnitTask → Task
  33. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  34. val in: PathToVcf

    Permalink
  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  37. val minQual: Int

    Permalink
  38. var name: String

    Permalink
    Definition Classes
    Task
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  42. def onComplete(exitCode: Int): Boolean

    Permalink
    Definition Classes
    Task
  43. def optionallyConfigure[T](path: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]

    Permalink
    Definition Classes
    ConfigurationLike
  44. val out: PathToVcf

    Permalink
  45. def pickResources(availableResources: ResourceSet): Option[ResourceSet]

    Permalink
    Definition Classes
    FixedResources → Schedulable
  46. val ref: PathToFasta

    Permalink
  47. def removeDependency(task: Task): Boolean

    Permalink
    Definition Classes
    Task
  48. def requires(cores: Double, memory: String): FilterFreeBayesCalls.this.type

    Permalink
    Definition Classes
    FixedResources
  49. def requires(cores: Cores, memory: Memory): FilterFreeBayesCalls.this.type

    Permalink
    Definition Classes
    FixedResources
  50. def requires(resources: ResourceSet): FilterFreeBayesCalls.this.type

    Permalink
    Definition Classes
    FixedResources
  51. def resources: ResourceSet

    Permalink
    Definition Classes
    ScheduleWithEmptyDefaultResources
  52. def retry(taskInfo: TaskExecutionInfo, failedOnComplete: Boolean): Option[Task]

    Permalink
    Definition Classes
    Task
  53. val somatic: Boolean

    Permalink
  54. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  55. def systemPath: Seq[Path]

    Permalink
    Attributes
    protected
    Definition Classes
    ConfigurationLike
  56. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. def withName(name: String): FilterFreeBayesCalls.this.type

    Permalink
    Definition Classes
    Task
  61. def [B](y: B): (FilterFreeBayesCalls, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FilterFreeBayesCalls to ArrowAssoc[FilterFreeBayesCalls] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from FixedResources

Inherited from ScheduleWithEmptyDefaultResources

Inherited from Configuration

Inherited from ConfigurationLike

Inherited from ProcessTask

Inherited from UnitTask

Inherited from Schedulable

Inherited from LazyLogging

Inherited from Task

Inherited from Dependable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from FilterFreeBayesCalls to any2stringadd[FilterFreeBayesCalls]

Inherited by implicit conversion StringFormat from FilterFreeBayesCalls to StringFormat[FilterFreeBayesCalls]

Inherited by implicit conversion Ensuring from FilterFreeBayesCalls to Ensuring[FilterFreeBayesCalls]

Inherited by implicit conversion ArrowAssoc from FilterFreeBayesCalls to ArrowAssoc[FilterFreeBayesCalls]

Ungrouped