We can also invert the conversion of a peptide into a peptide vector, so that the terms "peptide" and "peptide vector" can be used interchangeably.

Assignment

Given a file containing a binary vector P.

Return a peptide whose binary peptide vector matches P.

Remark

For masses with more than one amino acid: K/Q -> Q and I/L -> L.

Example

>>> peptide_vector_to_peptide('data01.txt'1)
'RPQPVPGMAE'

>>> peptide_vector_to_peptide('data02.txt'2)
'CHQGWASWLGLTSHRSERYF'