I've run into an issue getting the Matcher to work correctly. I have attached a log file with the error I am receiving (In this particular case I ran 3.4, but the error is the same for 3.5). The specific error is below:
ERROR: olditer != target_restype_index_map_.end()
ERROR:: Exit from: src/protocols/match/downstream/SecondaryMatcherToUpstreamResidue.cc line: 677
Any help would be greatly appreciated and if additional information is needed I would be glad to provide it.
(Answer based on further information - including the constraint file - provided during a private email exchange)
The issue is with how you're specifying your secondary constraint for constraint block 2 and the difference between upstream and downstream. "Downstream" is the ligand that you're trying to place. "Upstream" is the protein residue you're making the constraint to. So when you say "SECONDARY_MATCH: UPSTREAM_CST 1" what you're saying is that you want to do a secondary match against the protein residue (the upstream residue) from constraint block 1. But your constraint is written against your ICS ligand (the downstream residue). That's the cause of the error - Rosetta is trying to match against the CYD residue from the first constraint block, but is using geometry specified from the ICS ligand residue. So Rosetta complains about not finding a suitable target_restype.
What you need to do is to use "SECONDARY_MATCH: DOWNSTREAM" instead. There's only ever a single downstream residue, so you don't need to specify the constraint number.