Thus ending in barley, a protein (4)
I believe the answer is:
soya
'protein' is the definition.
(I've seen this before)
'thus ending in barley a' is the wordplay.
'thus' becomes 'so' (synonyms).
'ending in' says to take the final letters.
The last letter of 'barley' is 'y'.
'so'+'y'+'a'='SOYA'
(Other definitions for soya that I've seen before include "Legume" , "Animal-substitute (bean)" , "Plant seed, meat substitute" , "source of protein" , "nutritious bean" .)