{"_id":"5a3befb0c4608b0026a580d0","project":"5773dcfc255e820e00e1cd4d","version":{"_id":"5773dcfc255e820e00e1cd50","__v":26,"project":"5773dcfc255e820e00e1cd4d","createdAt":"2016-06-29T14:36:44.812Z","releaseDate":"2016-06-29T14:36:44.812Z","categories":["5773dcfc255e820e00e1cd51","5773df36904b0c0e00ef05ff","577baf92451b1e0e006075ac","577bb183b7ee4a0e007c4e8d","577ce77a1cf3cb0e0048e5ea","577d11865fd4de0e00cc3dab","578e62792c3c790e00937597","578f4fd98335ca0e006d5c84","578f5e5c3d04570e00976ebb","57bc35f7531e000e0075d118","57f801b3760f3a1700219ebb","5804d55d1642890f00803623","581c8d55c0dc651900aa9350","589dcf8ba8c63b3b00c3704f","594cebadd8a2f7001b0b53b2","59a562f46a5d8c00238e309a","5a2aa096e25025003c582b58","5a2e79566c771d003ca0acd4","5a3a5166142db90026f24007","5a3a52b5bcc254001c4bf152","5a3a574a2be213002675c6d2","5a3a66bb2be213002675cb73","5a3a6e4854faf60030b63159","5c8a68278e883901341de571","5cb9971e57bf020024523c7b","5cbf1683e2a36d01d5012ecd"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5a3a52b5bcc254001c4bf152","project":"5773dcfc255e820e00e1cd4d","version":"5773dcfc255e820e00e1cd50","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-12-20T12:08:21.441Z","from_sync":false,"order":8,"slug":"run-an-analysis","title":"Run an analysis"},"user":"5613e4f8fdd08f2b00437620","githubsync":"","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-12-21T17:30:24.582Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"##Overview\n\nLearn how to run a task on Cavatica.\n\n##Procedure\n\n1. [Create a draft task](doc:run-a-task#section-1-create-draft-task).\n2. [Optionally designate your task as a Batch task](doc:run-a-task#section--2-optional-designate-your-task-as-a-batch-task).\n3. [Select your input files](doc:run-a-task#section-3-select-input-files).\n4. [Define any custom app settings](doc:run-a-task#section-4-define-app-settings).\n5. [Run the analysis](doc:run-a-task#section-5-run-the-analysis),\n\n##[ 1 ] Create draft task\n\nWhile you configure your task, it is in a draft state and is labelled as a **DRAFT** task. Follow the steps below to create a draft task.\n\n1. Find the app you would like to use in your analysis\n2. Click **Run**. \n\nThis creates your draft task.\n\n##[ 2 ] (Optional) Designate your task as a Batch task\n\nClick the toggle next to **Batching** to switch between Single and Batch tasks. Learn more about [types of tasks](doc:about-analyses#section-about-tasks).\n\nIf you toggle back to a single task at any point, your batch settings will be preserved. Simply turn on batching once more to return to your settings.\n\n##[ 3 ] Select input files\n\nNote that Input files must have already been added to your project.\n\n1. Click **Select file(s)** next to the desired type of input data. If the input type for a tool has been specified as folder (applies only for CWL 1.0), you will have the option to select a folder and thus all files within the folder by clicking **Select folders**.\n2. In the file picker, tick the checkbox next to the desired file.\n3. Click **Select**.\n\nThis selects your input file(s) for the task you are configuring. Note that some apps may [suggest reference files](doc:about-analyses#section-suggested-files).\n\nIf you are setting up a [batch task](doc:about-batch-analyses), be sure to select the **Batch by** input criteria for all inputs. If a criteria is grayed out, it is not available. Note that you can use custom metadata fields as well as Cavatica metadata fields as criteria for batching.\n\n##[ 4 ] Define app settings\n\n1. Click **Edit Parameters**.\n2. Specify your desired app settings.\n3. Click **Save**.\n\n##[ 5 ] Run the analysis\n\nClick **Run** in the bottom right hand corner to initiate the execution.","excerpt":"","slug":"run-a-task-1","type":"basic","title":"Run a task"}
##Overview Learn how to run a task on Cavatica. ##Procedure 1. [Create a draft task](doc:run-a-task#section-1-create-draft-task). 2. [Optionally designate your task as a Batch task](doc:run-a-task#section--2-optional-designate-your-task-as-a-batch-task). 3. [Select your input files](doc:run-a-task#section-3-select-input-files). 4. [Define any custom app settings](doc:run-a-task#section-4-define-app-settings). 5. [Run the analysis](doc:run-a-task#section-5-run-the-analysis), ##[ 1 ] Create draft task While you configure your task, it is in a draft state and is labelled as a **DRAFT** task. Follow the steps below to create a draft task. 1. Find the app you would like to use in your analysis 2. Click **Run**. This creates your draft task. ##[ 2 ] (Optional) Designate your task as a Batch task Click the toggle next to **Batching** to switch between Single and Batch tasks. Learn more about [types of tasks](doc:about-analyses#section-about-tasks). If you toggle back to a single task at any point, your batch settings will be preserved. Simply turn on batching once more to return to your settings. ##[ 3 ] Select input files Note that Input files must have already been added to your project. 1. Click **Select file(s)** next to the desired type of input data. If the input type for a tool has been specified as folder (applies only for CWL 1.0), you will have the option to select a folder and thus all files within the folder by clicking **Select folders**. 2. In the file picker, tick the checkbox next to the desired file. 3. Click **Select**. This selects your input file(s) for the task you are configuring. Note that some apps may [suggest reference files](doc:about-analyses#section-suggested-files). If you are setting up a [batch task](doc:about-batch-analyses), be sure to select the **Batch by** input criteria for all inputs. If a criteria is grayed out, it is not available. Note that you can use custom metadata fields as well as Cavatica metadata fields as criteria for batching. ##[ 4 ] Define app settings 1. Click **Edit Parameters**. 2. Specify your desired app settings. 3. Click **Save**. ##[ 5 ] Run the analysis Click **Run** in the bottom right hand corner to initiate the execution.