Exemplo n.º 1
0
      'localCopy': {
        'path': 'output/*',
        'disk': 'datadisk'
      }
    } ]
  },

  'pipelineArgs' : {
    'projectId': args.project,

    # Override the resources needed for this pipeline
    'resources' : {
      'minimumRamGb': 1, # For this example, override the 3.75 GB default

      # Expand any zone short-hand patterns
      'zones': defaults.get_zones(args.zones),

      # For the data disk, specify the type and size
      'disks': [ {
        'name': 'datadisk',
        'autoDelete': True,

        'sizeGb': args.disk_size,
      } ]
    },

    # Pass the user-specified Cloud Storage paths as a map of input files
    # 'inputs' : {
    #   'inputFile0' : 'gs://bucket/foo.bam',
    #   'inputFile1' : 'gs://bucket/bar.bam', 
    #   <etc>
      'name': 'outputPath',
      'description': 'Cloud Storage path for where to FastQC output',
      'localCopy': {
        'path': 'workspace/*',
        'disk': 'datadisk'
      }
    } ]
  },

  'pipelineArgs': {
    'projectId': args.project,

    # Override the resources needed for this pipeline
    'resources': {
      # Expand any zone short-hand patterns
      'zones': defaults.get_zones(args.zones),

      # For the data disk, specify the size
      'disks': [ {
        'name': 'datadisk',

        'sizeGb': args.disk_size,
      } ]
    },

    # Pass the user-specified Cloud Storage paths as a map of input files
    # 'inputs': {
    #   'inputFile0': 'gs://bucket/foo.bam',
    #   'inputFile1': 'gs://bucket/bar.bam', 
    #   <etc>
    # }