Get ID for steps
get_steps_id(steps)
Steps object parsed by parse_steps
Vector of step IDs
# steps represented by a dictionary
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
read_cwl_json() %>%
parse_steps() %>%
get_steps_id()
#> [1] "SBG_Create_Expression_Matrix___Transcripts"
#> [2] "SBG_Create_Expression_Matrix___Genes"
#> [3] "SBG_Pair_FASTQs_by_Metadata_1"
#> [4] "Salmon_Index"
#> [5] "Salmon_Quant___Reads"
# steps represented by a list
system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
read_cwl_yaml() %>%
parse_steps() %>%
get_steps_id()
#> [1] "SBG_Create_Expression_Matrix___Transcripts"
#> [2] "SBG_Create_Expression_Matrix___Genes"
#> [3] "SBG_Pair_FASTQs_by_Metadata_1"
#> [4] "Salmon_Index"
#> [5] "Salmon_Quant___Reads"