Project

General

Profile

UseCases » History » Version 22

Sarah Zaranek, 10/05/2022 02:03 PM

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