Generation of pseudo-native protein structures for threading