I've upgraded to Windows 10, but now I want to clean install the OS to have it run as smoothly as possible. Obviously this will involve wiping my laptop's hard drive (a 500GB SSD), which has about 50GB of work, photos, and music on it. This data is all synced to OneDrive (via the OneDrive directory - I use file explorer to manage it, not the cumbersome OneDrive app). If I format my hard drive while clean installing Windows 10, will my OneDrive account assume I've deleted all those files and delete them from the cloud as well - or will the online versions be preserved, so I can re-download/sync them to the laptop's hard drive after the clean install?

(I have the most important of these files backed up on USB sticks, so it wouldn't be the end of the world if the OneDrive versions were erased, but I'd like to avoid that if possible - not least because re-syncing that data to the cloud would take ages, the first time took about a week).

Thanks in advance to any knowledgeable people who can help me out here.