I don't think I would recommend anybody new goes and buys diagnostics software then goes straight to a workshop procedure for 'guided fault finding' only to trash their car and I'm not scaremongering! If the OP has any doubts they should let a dealer sort it out.
VCDS diagnostics will not automatically 'clear' roof fault codes when the roof gets out of sync but it will tell you more about the problem. The dash now puts up roof fault error warnings and won't operate the roof because the the system is protecting itself from serious and expensive roof damage.
ANY intervention must be done very carefully. Aku has suggested using eyes and hands first, which is the best way to start. Nothing has to be 'cleared' because at the moment the roof segments and locks are out of sync and the the roof system will keep flagging the same error at every key on. Once the roof segments are carefully returned to a fully closed roof position, key on will allow the roof to operate normally on the switch.