class AmpliconLabeller extends AnyRef
Labels (add SAM tags) to records based on assigned amplicons.
The output will have the following tags added:
- ap: the assigned primer coordinates (ex. chr1:1010873-1010894
)
- am: the mate's assigned primer coordinates (ex. chr1:1011118-1011137
)
- ip: the assigned amplicon id
- im: the mate's assigned amplicon id (or =
if the same as the assigned amplicon)
If not primer/amplicon was found, then no tag will be written.
- Alphabetic
- By Inheritance
- AmpliconLabeller
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AmpliconLabeller(amplicons: Iterator[Amplicon] = Iterator.empty, primerCoordinatesTag: String = AssignPrimers.PrimerCoordinateTag, matePrimerCoordinatesTag: String = ..., ampliconIdentifierTag: String = AssignPrimers.AmpliconIdentifierTag, mateAmpliconIdentifierTag: String = ...)
- amplicons
the amplicons used to collect metrics, may be empty
- primerCoordinatesTag
the SAM tag to store the primer genomic coordinates for the read
- matePrimerCoordinatesTag
the SAM tag to store the primer genomic coordinates for the read's mate
- ampliconIdentifierTag
the SAM tag to store the amplicon identifier for the read
- mateAmpliconIdentifierTag
the SAM tag to store the amplicon identifier for the read's mate
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 AmpliconLabeller to any2stringadd[AmpliconLabeller] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (AmpliconLabeller, B)
- Implicit
- This member is added by an implicit conversion from AmpliconLabeller to ArrowAssoc[AmpliconLabeller] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ampliconIdentifierTag: String
- val amplicons: Iterator[Amplicon]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
ensuring(cond: (AmpliconLabeller) ⇒ Boolean, msg: ⇒ Any): AmpliconLabeller
- Implicit
- This member is added by an implicit conversion from AmpliconLabeller to Ensuring[AmpliconLabeller] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (AmpliconLabeller) ⇒ Boolean): AmpliconLabeller
- Implicit
- This member is added by an implicit conversion from AmpliconLabeller to Ensuring[AmpliconLabeller] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): AmpliconLabeller
- Implicit
- This member is added by an implicit conversion from AmpliconLabeller to Ensuring[AmpliconLabeller] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): AmpliconLabeller
- Implicit
- This member is added by an implicit conversion from AmpliconLabeller to Ensuring[AmpliconLabeller] 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 AmpliconLabeller to StringFormat[AmpliconLabeller] 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
label(r1: SamRecord, r2: SamRecord, recAmplicon: Option[Amplicon], mateAmplicon: Option[Amplicon]): Unit
Labels (adds SAM tags) to a read pair based on the assigned amplicon(s) for itself and potentially its mate.
Labels (adds SAM tags) to a read pair based on the assigned amplicon(s) for itself and potentially its mate.
- r1
the first of pair
- r2
the second of pair
- recAmplicon
the assigned amplicon for the record
- mateAmplicon
the assigned amplicon fo the record's mate (if paired)
-
def
label(rec: SamRecord, recAmplicon: Option[Amplicon] = None, mateAmplicon: Option[Amplicon] = None): Unit
Labels (adds SAM tags) to a record based on the assigned amplicon(s) for itself and potentially its mate.
Labels (adds SAM tags) to a record based on the assigned amplicon(s) for itself and potentially its mate.
- rec
the record to label
- recAmplicon
the assigned amplicon for the record
- mateAmplicon
the assigned amplicon fo the record's mate (if paired)
- val mateAmpliconIdentifierTag: String
- val matePrimerCoordinatesTag: String
- val metrics: Map[Amplicon, AssignPrimersMetric]
-
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 primerCoordinatesTag: String
-
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): (AmpliconLabeller, B)
- Implicit
- This member is added by an implicit conversion from AmpliconLabeller to ArrowAssoc[AmpliconLabeller] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc