code: def run(self, stream=sys.stdout, dry_run=False,
              stage_files=True, resubmit_failed=False):
          
          self._run_chain(stream, dry_run, stage_files,
                          resubmit_failed=resubmit_failed)
docs: Runs this `Chain`.
  
          Parameters
          -----------
          stream : `file`
              Stream that this `Link` will print to,
              Must have 'write' function
  
          dry_run : bool
              Print command but do not run it.
  
          stage_files : bool
              Copy files to and from scratch staging area.
  
          resubmit_failed : bool
              Flag for sub-classes to resubmit failed jobs.