Esempio n. 1
0
 def test_add_stop(self):
     peptide = ctermpep(protein_seq, 5, add_stop=True)
     assert peptide == protein_seq[-4:] + "*"
Esempio n. 2
0
 def test_short_seq_with_stop(self):
     peptide = ctermpep(short_protein_seq, 15, add_stop=True)
     assert peptide == short_protein_seq + "*"
Esempio n. 3
0
 def test_cterm_pep(self):
     peptide = ctermpep(protein_seq, 5)
     assert peptide == protein_seq[-5:]
Esempio n. 4
0
 def test_short_seq(self):
     peptide = ctermpep(short_protein_seq, 15)
     assert peptide == short_protein_seq