AlignmentInputGuard
in package
FinalYes
Two sequences of different molecules (a DNA against an RNA, whose T and U would score as a mismatch, or a nucleic acid against a protein) and a scoring made for another molecule (PAM250 on DNA) both produced a score with no error. They are refused here, for the three aligners alike.
Class AlignmentInputGuard
Tags
Table of Contents
Methods
- assertCompatible() : void
Methods
assertCompatible()
public
static assertCompatible(AbstractMolecularSequence $oFirst, AbstractMolecularSequence $oSecond, SubstitutionScoringInterface $oScoring) : void
Parameters
- $oFirst : AbstractMolecularSequence
- $oSecond : AbstractMolecularSequence
- $oScoring : SubstitutionScoringInterface