case class ReadGroupDictionary(readGroups: Seq[ReadGroup]) extends Product with Serializable
Builds a dictionary containing read groups.
Read groups must have a unique name across all samples in the dictionary. This dictionary provides numerical IDs for each group; these IDs are only consistent when referencing a single dictionary.
- readGroups
A seq of read groups to populate the dictionary.
- Exceptions thrown
IllegalArgumentException
Throws an assertion error if there are multiple read groups with the same name.
- Alphabetic
- By Inheritance
- ReadGroupDictionary
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(that: ReadGroupDictionary): ReadGroupDictionary
Merges together two read group dictionaries.
Merges together two read group dictionaries.
- that
The read group dictionary to merge with.
- returns
The merged read group dictionary.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(readGroupId: String): ReadGroup
Returns the read group entry for an associated id.
Returns the read group entry for an associated id.
- readGroupId
The read group to look up.
- returns
Detailed info for a read group.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getIndex(readGroupId: String): Int
Returns the numerical index for a given read group id.
Returns the numerical index for a given read group id.
- readGroupId
The read group to find an index for.
- returns
Returns a numerical index for a read group.
- Note
This index is only guaranteed to have the same value for a given read group id when the index is pulled from the same read group dictionary.
-
def
isEmpty: Boolean
- returns
Returns true if this dictionary contains no read groups.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
val
readGroupMap: Map[String, (ReadGroup, Int)]
A representation of this read group dictionary that can be indexed into by read group id.
- val readGroups: Seq[ReadGroup]
-
def
size: Int
The number of read groups in the dictionary.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSamples: Seq[Sample]
- returns
Converts this read group dictionary to a set of samples.
-
def
toString(): String
- Definition Classes
- ReadGroupDictionary → 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
- @native() @throws( ... )