Scots with debilitating bowel conditions are being invited to take part in a study to better understand what causes the diseases to worsen.

Researchers want to shed light on everyday factors that may influence flare-ups of Crohn's disease or ulcerative colitis, and investigate how changes in diet and lifestyle might help sufferers.

The study will collect information from 1500 patients. Participants will be asked to complete online questionnaires about their eating, exercise and sleeping habits and monitor feelings of stress and anxiety.

They will also be asked to provide mouth swabs and stool samples so researchers can analyse their DNA and examine bacteria living in their gut.

Those taking part will provide monthly updates for two years, detailing how well their symptoms are being controlled and any significant events. Experts will compare information from those who experience flare-ups with those who do not.

They hope to pinpoint everyday factors that could contribute to the onset of symptoms. Crohn's disease and ulcerative colitis are caused by inflammation in the bowel.

Around one in 200 people in the UK are living with the conditions, and young people are particularly affected. Symptoms include severe abdominal cramps, diarrhoea, nausea and tiredness that can affect all aspects of day-to-day life. Current treatments are focused on alleviating the symptoms but patient responses vary.

There is no cure. Called PREdiCCt, (Prognostic effect of environmental factors in Crohn's and colitis), the study is led by the University of Edinburgh and NHS Lothian and is recruiting patients from Scotland and England.

Researchers from the University of Aberdeen will provide expertise in diet and nutrition plus analysis of participants' gut bacteria.

The study is funded by the charities Cure Crohn's Colitis, and Crohn's and Colitis in Childhood, and the Scottish Government's Chief Scientist Office.

Chief investigator Dr Charlie Lees said: "Patients often ask us whether there are any changes to their diet or lifestyle that would help to better manage their symptoms. "We hope the findings from this study will give us the evidence base needed to provide better advice for those living with these debilitating diseases."