docs: def matchingfiles(self, projectpath):
          """Checks if the input conditions are satisfied, i.e the required input files are present. We use the symbolic links .*.INPUTTEMPLATE.id.seqnr to determine this. Returns a list of matching results (seqnr, filename, inputtemplate)."""
          results = []
  
          if projectpath[-1] == '/':
              inputpath = projectpath + 'input/'
          else:
              inputpath = projectpath + '/input/'
  
          for linkf,realf in clam.common.util.globsymlinks(inputpath + '/.*.INPUTTEMPLATE.' + self.id + '.*'):
              seqnr = int(linkf.split('.')[-1])
              results.append( (seqnr, realf[len(inputpath):], self) )
          results = sorted(results)
          if self.unique and len(results) != 1:
              return []
          else:
              return results