N-methylpipecolic acid was detected for the first time in coffee beans.
Homostachydrine was detected for the first time in coffee beans.
Homostachydrine is much more abundant in Robusta than in Arabica seeds.
Homostachydrine content is unaffected by coffee bean roasting treatment.
The results give a tool to quantify Robusta and Arabica composition of coffee blends.