my templates are a homodimer of the first domain and a monomer of the
second domain,
and the target protein is a homodimer. Both domains are linked by 17 aa
flexible regions
without templates. How could I do such task in Modeller 9.8?
You are going to have trouble with the 17aa linker regions - that's a
little long for loop modeling. But to model the second domain, simply
use two copies of your second template in your alignment, e.g. something
like: