def test_compare_a_is5p_mismatch(self): self.assertFalse(sygnal.compareMiRNANames('hsa-let-7fp-2-5p', 'hsa-let-7f'))
def test_compare_a_is3p_mismatch(self): self.assertFalse(sygnal.compareMiRNANames('hsa-let-7f-3pp-1-3p', 'hsa-let-7f-3p'))
def test_compare_a_is5p(self): self.assertTrue(sygnal.compareMiRNANames('hsa-let-7f-2-5p', 'hsa-let-7f')) self.assertTrue(sygnal.compareMiRNANames('hsa-let-7fa-2-5p', 'hsa-let-7f'))
def test_compare_identical(self): self.assertTrue(sygnal.compareMiRNANames('miRNA', 'miRNA'))
def test_compare_a_is3p(self): self.assertTrue(sygnal.compareMiRNANames('hsa-let-7f-3p-1-3p', 'hsa-let-7f-3p')) self.assertTrue(sygnal.compareMiRNANames('hsa-let-7f-3pb-1-3p', 'hsa-let-7f-3p'))
def test_compare_a_is5p_mismatch(self): self.assertFalse( sygnal.compareMiRNANames('hsa-let-7fp-2-5p', 'hsa-let-7f'))
def test_compare_a_is5p(self): self.assertTrue( sygnal.compareMiRNANames('hsa-let-7f-2-5p', 'hsa-let-7f')) self.assertTrue( sygnal.compareMiRNANames('hsa-let-7fa-2-5p', 'hsa-let-7f'))
def test_compare_a_is3p_mismatch(self): self.assertFalse( sygnal.compareMiRNANames('hsa-let-7f-3pp-1-3p', 'hsa-let-7f-3p'))
def test_compare_a_is3p(self): self.assertTrue( sygnal.compareMiRNANames('hsa-let-7f-3p-1-3p', 'hsa-let-7f-3p')) self.assertTrue( sygnal.compareMiRNANames('hsa-let-7f-3pb-1-3p', 'hsa-let-7f-3p'))