class ConsensusBaseBuilder extends AnyRef
An inner class for tracking the likelihoods for the consensus for a single base.
- Alphabetic
- By Inheritance
- ConsensusBaseBuilder
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ConsensusBaseBuilder()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to any2stringadd[ConsensusBaseBuilder] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ConsensusBaseBuilder, B)
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to ArrowAssoc[ConsensusBaseBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(base: Base, pError: LogProbability, pTruth: LogProbability): Unit
Adds a base with adjusted error and truth probabilities to the consensus likelihoods.
-
def
add(base: Base, qual: PhredScore): Unit
Adds a base and un-adjusted base quality to the consensus likelihoods.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
call(): (Base, PhredScore)
Call the consensus base and quality score given the current set of likelihoods.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
contributions: Int
Returns the number of reads that contributed evidence to the consensus.
Returns the number of reads that contributed evidence to the consensus. The value is equal to the number of times add() was called with non-ambiguous bases.
-
def
ensuring(cond: (ConsensusBaseBuilder) ⇒ Boolean, msg: ⇒ Any): ConsensusBaseBuilder
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to Ensuring[ConsensusBaseBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ConsensusBaseBuilder) ⇒ Boolean): ConsensusBaseBuilder
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to Ensuring[ConsensusBaseBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ConsensusBaseBuilder
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to Ensuring[ConsensusBaseBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ConsensusBaseBuilder
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to Ensuring[ConsensusBaseBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to StringFormat[ConsensusBaseBuilder] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logLikelihoods: Array[LogProbability]
Gives the calculated likelihoods of the four bases given the data and the model.
Gives the calculated likelihoods of the four bases given the data and the model. The likelihoods returned factor in both the base observations and the probability of error prior to applying the labels.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
observations(base: Base): Int
Gets the number of observations of the base in question.
-
def
reset(): Unit
Resets the likelihoods to p=1 so that the builder can be re-used.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (ConsensusBaseBuilder, B)
- Implicit
- This member is added by an implicit conversion from ConsensusBaseBuilder to ArrowAssoc[ConsensusBaseBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc