ragtag_utilities/ContigAlignment.py
def _get_orientation_confidence(self):
        """ Calculate the orientation confidence score. """
        num = 0
        denom = 0
        for i in self._get_best_ref_alns():
            aln_len = self._ref_aln_lens[i]
            if self._strands[i] == self.orientation:
                num += aln_len
            denom += aln_len
        self.orientation_confidence = num/denom
 Calculate the orientation confidence score. 
Calculate the orientation confidence score.
Calculate the orientation confidence score .
def _get_orientation_confidence(self):
        num = 0
        denom = 0
        for i in self._get_best_ref_alns():
            aln_len = self._ref_aln_lens[i]
            if self._strands[i] == self.orientation:
                num += aln_len
            denom += aln_len
        self.orientation_confidence = num/denom
def _get_orientation_confidence ( self ) : num = 0 denom = 0 for i in self . _get_best_ref_alns ( ) : aln_len = self . _ref_aln_lens [ i ] if self . _strands [ i ] == self . orientation : num += aln_len denom += aln_len self . orientation_confidence = num / denom
Calculate the orientation confidence score.
Calculate the orientation confidence score .
""" Calculate the orientation confidence score. """
self