What you mean to convert? Get the correct value of molecular weight? You would like to from cylic peptide through additional peptide bond (mass of linear-17) or disulfide bridge (mass of linear -2)? If you adding some linkers to make a cyclic molecule you should remember about including mass of the linker in the calculation.
what i did i made with chemcraft software after that i went for an energy minimization using gromacs, what i found is that one bond is broken so i think there is some problem with construction and i need to get 3D structure