Microreact_Export¶
Quick Facts¶
| Workflow Type | Applicable Kingdom | Last Known Changes | Command-line Compatibility | Workflow Level | Dockstore |
|---|---|---|---|---|---|
| Exporting Data from Terra | Any taxa | vX.X.X | Yes | Set-level | Microreact_Export_PHB |
Microreact_Export_PHB¶
This workflow allows users to submit Terra data tables as metadata and phylogenetic trees resulting from other Terra run workflows directly to Microreact using their Access Token. A user can also update an existing Microreact project with a new metadata file or additional tree files. If an access token is unavailable users can manually upload the output project file to Microreact.
Updating Projects
When updating an existing project there are a few places to obtain the input for project_url. One place to pull this string from is the web address of the project in your account which will look like this, https://microreact.org/project/<project_url>run.
A second location is within the output of microreact_api_response in the id field.
A third location would be from the My Projects tab. The project id is displayed for each project within your account.
Inputs¶
| Terra Task Name | Variable | Type | Description | Default Value | Terra Status |
|---|---|---|---|---|---|
| wf_microreact_export | id_column | String | Column used as the unique identifier for Microreact | Required | |
| wf_microreact_export | project_name | String | Name of the project to be uploaded to Microreact | Required | |
| wf_microreact_export | set_id | String | ID column of the set being run | Required | |
| wf_microreact_export | terra_project_name | String | Terra project location where metadata Terra table is housed | Required | |
| wf_microreact_export | terra_table_name | String | Name of the Terra table used as the Microreact metadata table | Required | |
| wf_microreact_export | terra_workspace_name | String | Terra workspace location where metadata Terra table is housed | Required | |
| create_microreact_project | cpu | Int | Number of CPUs to allocate to the task | 2 | Optional |
| create_microreact_project | disk_size | Int | Amount of storage (in GB) to allocate to the task | 10 | Optional |
| create_microreact_project | docker | String | The Docker container to use for the task | us-docker.pkg.dev/general-theiagen/theiagen/microreact_export:1.0.0 | Optional |
| create_microreact_project | memory | Int | Amount of memory/RAM (in GB) to allocate to the task | 4 | Optional |
| download_terra_table | cpu | Int | Number of CPUs to allocate to the task | 1 | Optional |
| download_terra_table | disk_size | Int | Amount of storage (in GB) to allocate to the task | 10 | Optional |
| download_terra_table | docker | String | The Docker container to use for the task | us-docker.pkg.dev/general-theiagen/theiagen/terra-tools:2023-06-21 | Optional |
| download_terra_table | memory | Int | Amount of memory/RAM (in GB) to allocate to the task | 2 | Optional |
| wf_microreact_export | access_token | String | Users token used to upload projects to their Microreact account | Optional | |
| wf_microreact_export | date_column | String | Column within the input Terra table to be used as the date designation | Optional | |
| wf_microreact_export | download_table | Boolean | When true, will download th specified Terra table | True | Optional |
| wf_microreact_export | matrix_files | Array[File] | A list of matrix files a user would like to upload to the Microreact project. Can be written as [this.matrix1, this.matrix2, etc]. | Optional | |
| wf_microreact_export | metadata_columns | Array[String] | A list of column names from the input Terra table that the user would like to be included in their Microreact metadata table | Optional | |
| wf_microreact_export | metadata_file | File | To be used if a separate metadata TSV is required other than downloading a Terra table | Optional | |
| wf_microreact_export | project_url | String | URL used to update a microreact project. Can be found as the code within the webpage URL. "microreact.org/project/ |
