コード例 #1
0
 def test_add_stop(self):
     peptide = ctermpep(protein_seq, 5, add_stop=True)
     assert peptide == protein_seq[-4:] + "*"
コード例 #2
0
 def test_short_seq_with_stop(self):
     peptide = ctermpep(short_protein_seq, 15, add_stop=True)
     assert peptide == short_protein_seq + "*"
コード例 #3
0
 def test_cterm_pep(self):
     peptide = ctermpep(protein_seq, 5)
     assert peptide == protein_seq[-5:]
コード例 #4
0
 def test_short_seq(self):
     peptide = ctermpep(short_protein_seq, 15)
     assert peptide == short_protein_seq