Generation of crystal structures using known crystal structures as analogues