Project

General

Profile

UseCases » History » Version 16

Sarah Zaranek, 10/05/2022 01:57 PM

1 16 Sarah Zaranek
h2. Use Cases for WB and Collections/Projects (Keep)
2 2 Tom Clegg
3 16 Sarah Zaranek
Note: these are not full use cases, simplified to just give more of the what and not a lot of the why or who.  We will be boiling these up into higher-level use cases.  This is more a list of items that should be included in all those higher-level use cases.  We want to not only ensure these use cases can be done in WB2 but the experience is equivalent or hopefully better in WB2 than in WB1. 
4 1 Sarah Zaranek
5 16 Sarah Zaranek
*Creating New Collections*
6
Summary: Users want to create a new collection in WB. 
7
Details:  Wants to make collection in from any of the data sources:
8
From data already in an existing collection
9
From a subset of files in an existing collection
10
By combining files from different subsets of different collections
11
By Uploading files from my desktop
12
From the results of a already run workflow
13
By downloading data from another source into a collection
14 1 Sarah Zaranek
15 16 Sarah Zaranek
*Annotating Collections*
16
Summary: User wants to annotate their collections with such details as sample
17
name, sample type, sequencing method, species, etc. 
18
Details:
19
User wants to add annotations/metadata to existing collection
20
User want to verify the added metadata to the collection
21 1 Sarah Zaranek
22 16 Sarah Zaranek
Examining Collection Files 
23
Summary:  User is viewing a collection and wants to examine the files and extract the data or metadata. 
24
Details:
25
User wants to find certain files within the collection 
26
(visually,using search (basic and advanced search using regexp, etc)
27
User want to View or download certain files with the collection using a UI
28 1 Sarah Zaranek
29 16 Sarah Zaranek
Sharing Collection Files 
30
Summary:  User wants to share the Files in a Collection
31
    Details:
32
User wants make the collection available for downloading via ftp, s3 or other 3rd party application
33
User wants to share the collection with others (by name) in their organization, others via a defined group, to everyone in their organization, or publicly.   Users want those they share the collection with to have 
34
Read permission. 
35
Write permissions
36
Manage permissions
37 1 Sarah Zaranek
38 16 Sarah Zaranek
Finding Existing Collections
39
Summary: User want to find an existing collection
40
Details:  User wants to find the collection by one of the following ways:
41
By Browsing to the project that contains the collection
42
By searching the UUID of the project - and then looking through the items in the collection
43
By searching the UUID of the collection
44
By searching the collection name
45
By searching the PDH
46
By searching the collection metadata
47
By searching for the workflow that produced it
48
By a URL that can share that points to the project on WB
49 1 Sarah Zaranek
50 16 Sarah Zaranek
Identifying Collections
51
Summary: User needs to ID the collection for use as inputs to a workflow and/or inputs to a command using the API or CLI
52
Details:  User wants to find these specific file IDs
53
User wants to get the collection UUID
54
User wants to get the collection PDH
55
User wants to get the collection metadata
56 1 Sarah Zaranek
57 16 Sarah Zaranek
Editing an Existing Collection 
58
Summary: User wants to modify a collection for use in their new project.
59
Details: User will want to
60
Copy over an existing collection to a new project
61
Remove files in their collection to suit their needs for their new bioinformatics task. 
62
Add files from either their desktop or from another collection into this new collection
63 1 Sarah Zaranek
64 16 Sarah Zaranek
Editing the File Structure of An Existing Collection 
65
Summary:  User wants to adjust the file structure of an existing collection to work better as an input to their analysis tools
66
Details:  User will want to
67
Remove files from folders to have them in all in a single flat directory
68
Separate different subsets of files and place them in folders
69 1 Sarah Zaranek
70 16 Sarah Zaranek
Verifying Correct Collection
71
Summary: User wants to download data from a collection, and want to make sure the collect they found is the correct collection
72
Details:  User may want to check the following:
73
UUID and/or PDH
74
metadata
75
file contents
76
collection “version”
77
lineage of the collection (i.e. if the collection was generated as the result of a workflow - which workflow created this collection)
78 1 Sarah Zaranek
79 16 Sarah Zaranek
Creating Projects
80
Summary: User is working in the Arvados Workbench and needs a new Arvados project for a new analysis project they are working on. 
81
Details: The user wants to do the following
82
Create new project
83
Create a subproject within the new project (e.g. For Testing vs Final Runs)
84
Name the project/subproject
85
Add description of the project
86
Add metadata to the project  
87
Extract UUID of Project for use in workflow inputs or various command line/SDK/API functionality. 
88
Copy a URL that can share to others that points to the project
89
Mark the projects as “favorites” to be able to it more easily
90 1 Sarah Zaranek
91 16 Sarah Zaranek
Moving or Creating Items within Project
92
Summary. A User wants to set up their project to do their work.  They want to move all relevant existing data and workflows as well as upload new data and create new registered workflows.  
93
Details: Users may want to:
94
Copy existing collections and register workflows into this project
95
Create new collections within the project
96
Create new registered workflows in that project
97
Run workflows in this projects having the output, logs and other created artifacts contained within this project
98 1 Sarah Zaranek
99 16 Sarah Zaranek
Archiving or Sharing a Project
100
Summary: Now that the work is finished and the user has the results they need.  They want to get the project ready for sharing with their organization, with those outside their organization or even possible publicly in a publication.  
101
Details: Users may want to
102
Clean up the project by removing old collections, logs, processes and subdirectories that are not necessary to keep. 
103
Edit the name or metadata for the project
104
Freeze the project
105
Share the project with others in their organization, to everyone in their organization, publicly.   These are possible configurations:
106
Others have read permission  
107
Others have write permissions
108
Others have manage permissions
109 1 Sarah Zaranek
110 16 Sarah Zaranek
Identifying an Existing Project
111
Summary: User needs to identify the correct project in which to run their workflow.  They think they found the correct project they want searching on the project name.  
112
Details: The user then may want to:
113
Find the UUID of the project
114
Examine aspects of the project to double check it is the project they want to use.  They might want to:
115
Check the contents of the project 
116
Check the project description 
117
User might want to see the history of the project (*not currently available)
118
User might want to see the metadata for the project
119
Check to see if the project is frozen
120 1 Sarah Zaranek
121 16 Sarah Zaranek
Finding a Project or Subproject
122
Summary: A user logs back into Arvados after a break and would like to find the project they were working on previously. 
123
Details:  Those users would may want to find this project by
124
Searching for UUID, metadata or the project name
125
Navigating through the project/subproject hierarchy to find the project
126
Skimming through projects marked as their “Favorites”
127
Look for projects owned or created by a specific user (* Not Currently available)
128 1 Sarah Zaranek
129 16 Sarah Zaranek
Use Cases for WB and Workflows (Crunch)
130 1 Sarah Zaranek
131 16 Sarah Zaranek
Submitting Workflows to Arvados Without Command Line
132
Summary: User wants to submit a workflow to run on Arvados without having to use the command line. The workflow CWL file either lives in a git repository or on the user’s local machine or in a collection on Arvados.  (* Currently this is not available on WB)
133
Details: The user will want to indicate to Arvados which workflow they want to run and have Arvados 
134
Parse the CWL file and generate an interactive form to fill out with input values and then submit the workflow via Workbench
135
Upload a YML file of input values to upload or direct Arvados to an existing YML file in an Arvados collection and then submit the workflow via Workbench. 
136 1 Sarah Zaranek
137 16 Sarah Zaranek
Monitoring Submitted Workflows 
138
Summary: User submits a workflow to run on Arvados using the command line. They want to monitor the workflow that they submitted using the Arvados Workbench. 
139
Details: The User will want to
140
Find the running workflow
141
Through search
142
Via Project Navigation
143
Check the workflow’s current status
144
If run successfully, find output collection 
145
If run successfully, look at how long it took to run
146
If run successfully, estimate costs (* currently only available for CommandLine)
147 1 Sarah Zaranek
148 16 Sarah Zaranek
Debugging Workflows - Part I
149
Summary: User submits a workflow to run on Arvados using the command line. They find out that the workflow and it did not run not run successfully.   They want to figure out why it failed.  
150
Details: The User may wants to:
151
Examine logs
152
Examine inputs
153
Examine command
154
Examine CWL  (* CWL not yet available)
155
Check to see which docker container was used
156
Run crunch-run stats interactively on WB  (*Currently only available via the command line) or have those plots available on WB. 
157 1 Sarah Zaranek
158 16 Sarah Zaranek
Debugging Workflows - Part II
159
Summary:  A User is updating a workflow workflow and the workflow has now stops running after a series of changes.  The User needs to compare the new workflow to the old workflow to see why it failed.
160
Details:  The User may need to 
161
Examine old workflow runs and backtrack to see when was the workflow last working
162
Determine what is the difference between the last working workflow and the broken workflows main process . This could include comparing: Inputs, Command, Resource Allocation, Node Type, and Docker Image metadata.
163
Determine which steps (if any) were re-used from the working workflow
164
Determine which steps failed in the new workflows
165
Determine if any big differences between the different workflows steps
166
Look at information passed to the steps including Inputs, Command, Resource Allocation
167
Find and compare logs from the relevant workflow steps Compare Docker image metadata (docker image ID, name, version, dockerfile)
168
Need to compare compare crunch-run stats between jobs (*Currently only available via command line)
169
170
Integrating Git Commit Information with Submitted Workflow
171
User has been working on changes to an existing workflow.  They have been submitting workflows managed in a git repository.  The workflow stops working or returning different outputs. The User would like to 
172
Find the relevant git commit information for the commit version of the workflow run on Arvados that worked
173
Find the relevant git commit information for the version of the workflow that is returning different results or not working
174
175
Calculating Workflow Costs
176
Summary: A User ran a big job and is now worried about how much it cost to run.  Details: The user wants to
177
Find the container request UUID of the workflow  
178
Run the cost analyzer to see how much it cost to run the entire workflow 
179
(* Currently not available in WB)
180
Run the cost analyzer to see which step is costing the most money
181
(* Currently not available in WB)
182
See if it would be possible to run workflow on less expensive instances (using information now only possible from the command line)
183
Estimate how much would it cost to run another similar workflow
184
 (* Currently not available in Arvados)
185
186
Creating a Register Workflow Using Workbench
187
Summary: User wants to create a registered workflow interactively using the WB (* Only currently available using command line).
188
Details.  The user may want to:
189
Share registered workflow with others in their organization
190
Set default values for the workflow
191
Define the name, metadata and descriptive text for the register workflow
192
193
Finding a Registered Workflow
194
Summary: User wants to run a registered workflow created by their colleague. User needs to find this workflow.
195
Details: The user may want to find the workflow by
196
Name, metadata or unique identifier
197
A URL shared by the creator of the register workflow
198
Looking Inside “project” that contains all the available shared workflows
199
200
Specifying Inputs to a Registered Workflow
201
Summary:  User wants to use the WB to submit a registered workflow made by 
202
their collaque to run on Arvados .  
203
Details: The user wants to:
204
Specify the inputs for the register workflow to use
205
Use the default inputs (if provided)
206
Identify the project the workflow should “run” in (i.e. where the outputs, logs and other collections should be stored)
207
See details about which registered workflow they are running to help guide them with to provide the proper input (eg. Registered workflow , name, description, etc.)
208
209
Examining A Running Workflow
210
Summary: User notices that their workflow has been running a long time and wants to check up on it.They would like to figure out if workflow is hung or is progressing along.  If progressing, the user may want to try and figure out why the workflow is running slower than expected.
211
Details:  The User may want to examine the following on WB
212
Real time logs
213
Resources used
214
Steps run so far and their outputs/inputs
215
Real-time values of RAM, CPU usage etc currently 
216
(* Not available in WB)
217
218
 Rerunning Old Workflows  
219
Summary: A User has successfully run a workflow on Arvados using the command line and would like to rerun that old workflow. 
220
(*Not Currently Available in WB)
221
Details: User may want to specify:
222
New Inputs
223
New Resource Requirements
224
New Docker Container
225
226
 Canceling a Running or Queued Workflow
227
Summary: User has submitted a workflow to Arvados via the command line and releases that they accidentally used the wrong inputs or an outdated function that the workflow leverages.  They want to cancel the workflow before it wastes time and resources.
228
Details:  User would like to
229
Find the running workflow on WB
230
Have an easy (single-button) way to cancel workflow on WB
231
Have a way to verify that the workflow was canceled
232
233
Checking Workflow Inputs or Requirements
234
Summary: User is examining output results of a workflow and wants to remind themselves which input parameter they used for the model they ran in the workflow. 
235
Details:  User would like to
236
Trace output collection to process that created it (i.e. container)
237
Find and examine the inputs to the workflow or workflow step run in that container