Class/Object

dagr.tasks.vc

FreeBayes

Related Docs: object FreeBayes | package vc

Permalink

abstract class FreeBayes extends Task with Configuration with VariableResources

Task for running FreeBayes, based on: https://github.com/chapmanb/bcbio-nextgen/blob/master/bcbio/variation/freebayes.py Does no pre-filtering for regions with high depth, but uses the --max-coverage option instead. Furthermore, no post-filtering of the calls are performed; see FilterFreeBayesCalls for applying post-calling filters.

regionSize will only be used if no interval list is given.

Tool Requirements: - freebayes (https://github.com/ekg/freebayes) - vcflib (https://github.com/vcflib/vcflib - bgzip (https://github.com/samtools/htslib) - parallel (http://www.gnu.org/software/parallel)

Other Requirements - reference FASTA must have an FAI

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

Please note that if the output VCF is a bgzip'ed VCF (vcf.gz) no index will be generated.

Linear Supertypes
VariableResources, ScheduleWithEmptyDefaultResources, Schedulable, Configuration, ConfigurationLike, LazyLogging, Task, Dependable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FreeBayes
  2. VariableResources
  3. ScheduleWithEmptyDefaultResources
  4. Schedulable
  5. Configuration
  6. ConfigurationLike
  7. LazyLogging
  8. Task
  9. Dependable
  10. AnyRef
  11. 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 FreeBayes(ref: PathToFasta, targetIntervals: Option[PathToIntervals], bam: List[PathToBam], vcf: PathToVcf, somatic: Boolean, compress: Boolean, memory: Memory, minThreads: Int, maxThreads: Int, regionSize: Long, useBestNAlleles: Option[Int], maxCoverage: Option[Int], minRepeatEntropy: Option[Int], minAlternateAlleleFraction: Option[Float] = None)

    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 FreeBayes to any2stringadd[FreeBayes] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  6. def ->[B](y: B): (FreeBayes, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FreeBayes to ArrowAssoc[FreeBayes] 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
    VariableResources → Schedulable
  12. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected
    Definition Classes
    ConfigurationLike
  14. val bam: List[PathToBam]

    Permalink
  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: (FreeBayes) ⇒ Boolean, msg: ⇒ Any): FreeBayes

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FreeBayes to Ensuring[FreeBayes] 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 FreeBayes to StringFormat[FreeBayes] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def getTasks: Traversable[_ <: Task]

    Permalink

    Sets the arguments for FreeBayes.

    Sets the arguments for FreeBayes. For somatic calling, there should be two bams, a tumor bam then normal bam.

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  36. val maxCoverage: Option[Int]

    Permalink
  37. val maxThreads: Int

    Permalink
  38. val memory: Memory

    Permalink
  39. val minRepeatEntropy: Option[Int]

    Permalink
  40. val minThreads: Int

    Permalink
  41. var name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  45. def numThreads: Int

    Permalink
    Attributes
    protected
  46. def onComplete(exitCode: Int): Boolean

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

    Permalink
    Definition Classes
    ConfigurationLike
  48. def pickResources(availableResources: ResourceSet): Option[ResourceSet]

    Permalink

    Attempts to pick the resources required to run.

    Attempts to pick the resources required to run. The required resources are: 1) Cores = the cores for freebayes plus one additional core to account for the other scripts 2) Memory = a fixed amount.

    Definition Classes
    FreeBayes → Schedulable
  49. val ref: PathToFasta

    Permalink
  50. val regionSize: Long

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

    Permalink
    Definition Classes
    Task
  52. def resources: ResourceSet

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

    Permalink
    Definition Classes
    Task
  54. val somatic: Boolean

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ConfigurationLike
  57. val targetIntervals: Option[PathToIntervals]

    Permalink
  58. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  59. val useBestNAlleles: Option[Int]

    Permalink
  60. val vcf: PathToVcf

    Permalink
  61. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Task
  65. def [B](y: B): (FreeBayes, B)

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

Inherited from VariableResources

Inherited from ScheduleWithEmptyDefaultResources

Inherited from Schedulable

Inherited from Configuration

Inherited from ConfigurationLike

Inherited from LazyLogging

Inherited from Task

Inherited from Dependable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped