Get ID for outputs

get_outputs_id(outputs)

Arguments

outputs

Parsed outputs

Value

Vector of output IDs

Examples

# inputs represented by a dictionary
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
  read_cwl_json() %>%
  parse_outputs() %>%
  get_outputs_id()
#> [1] "unmapped_reads"               "quant_sf"                    
#> [3] "quant_genes_sf"               "mapping_info"                
#> [5] "bootstrap_data"               "eq_classes"                  
#> [7] "transcript_expression_matrix" "gene_expression_matrix"      
#> [9] "salmon_quant_archive"        

# inputs represented by a list
system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
  read_cwl_yaml() %>%
  parse_outputs() %>%
  get_outputs_id()
#> [1] "unmapped_reads"               "quant_sf"                    
#> [3] "quant_genes_sf"               "mapping_info"                
#> [5] "bootstrap_data"               "eq_classes"                  
#> [7] "transcript_expression_matrix" "gene_expression_matrix"      
#> [9] "salmon_quant_archive"