Tutorials: Difference between revisions

From BCOeditor Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Before building a BioCompute Object (BCO), please register an account first by following the listed steps:
Before building a BioCompute Object (BCO), please register an account first by following the listed steps:
# Go to '''Log in''' on the header: [[File:Login.png|800px|thumb|center]]
# Go to '''Log in''' on the header: [[File:log_in_22.09.png|800px|thumb|center]]
# Click on '''Sign up''', and complete the requested information, including First and Last name, email, username, and password. Once finished, click on '''SIGN UP FOR PORTAL ACCOUNT'''.  
# Click on '''Sign up''', and complete the requested information, including First and Last name, email, username, and password. Once finished, click on '''SIGN UP FOR PORTAL ACCOUNT'''.  
# An activation email from object.biocompute@gmail.com should be sent to your entered email address. Click on the activation link from the email within 10 minutes to activate your BioCompute Portal account. Once activated, a new window should prompt open and indicate the activation status.  
# An activation email from object.biocompute@gmail.com should be sent to your entered email address. Click on the activation link from the email within 10 minutes to activate your BioCompute Portal account. Once activated, a new window should prompt open and indicate the activation status.  

Revision as of 20:01, 8 September 2022

Register for a portal account

Before building a BioCompute Object (BCO), please register an account first by following the listed steps:

  1. Go to Log in on the header:
    Log in 22.09.png
  2. Click on Sign up, and complete the requested information, including First and Last name, email, username, and password. Once finished, click on SIGN UP FOR PORTAL ACCOUNT.
  3. An activation email from object.biocompute@gmail.com should be sent to your entered email address. Click on the activation link from the email within 10 minutes to activate your BioCompute Portal account. Once activated, a new window should prompt open and indicate the activation status.
  4. Login to the Portal account using your username and password by clicking on SIGN IN.

Account information

Under Account, personal/account information can be modified. In addition, the users are able to change passwords, add servers, and edit Groups and Permissions.

  1. After logging in, go to Account on the header:
    Account.png
  2. On the Account page, account details can be changed and the user can choose to make the information publicly by checking Public.
  3. To change passwords and modify Databases, Groups, and Permissions, click on the drop-down arrow on the right for each section.

Search for a draft and existing BCO

  1. Click on Objects on the header:
    Objects1.png
  2. Select a server by clicking on the dropdown arrow:
    Object.png
  3. Select Search Type. Three search types are available, My BCOs, Prefix Search, and Search BCO_ID. Once a Search Type is selected, the SEARCH button will lite up.
    Objects3.png
  4. Enter the search term in the blank field. This function is only available when doing a search by Prefix Search and Search BCO_ID to achieve a precise search. All BCO Accessions are clickable which will direct to the BCO.
    Objects2.png

Build a BCO

  1. Click on Builder on the header:
    Builder1.png
  2. Fill out the BCO as needed. Red boxes are required fields, yellow boxes are recommended fields, and plain boxes are optional fields.
  3. For Object Information, the Object ID is auto generated after saving/publishing the draft. Click on GENERATE ETAG to generate an ETag.
    Etag.png
  4. For information to fill out each domain, please go to Provenance Domain, Usability Domain, Extension Domain, Description Domain, Execution Domain, I/O Domain, Parametric Domain, and Error Domain.
  5. User can also view/edit the BCO in JSON by clicking on either TREE VIEW JSON or RAW JSON VIEW.
    JSON.png
  6. A BCO draft can be saved at any time of editing. In order to save a draft, go to the top of the page, and click on SAVING AND PUBLISHING.
    Saving and publishing.png
  7. To save the draft properly, first choose a server to save the draft. Then the BCO prefix field will show up. Enter a specific BCO prefix based on user groups and permissions. The default prefix is BCO, which can be used by all users. Click on CREATE NEW DRAFT. If the entered prefix is not correct, an error message will pop up saying “Create Draft Failed” with a specific reason. Otherwise, the message will say “Create Draft Success”. Click OK on the message to return to the builder page.
  8. Once the new draft is created, the Builder page will refresh and generate an Object ID, which will show in the Object Information section. Continue to edit the BCO as needed.
  9. Once finish editing or need to save the draft again, go back to the top of the page, click on SAVING AND PUBLISHING, then click SAVE CURRENT DRAFT. A pop-up window will show up and indicate the draft is saved successfully.
  10. Before publishing the draft, users need to validate the draft first. To do this, click on SAVING AND PUBLISHING. Choose Display Validation, then VALIDATE DRAFT. A new window will pop up with validation results.
    Validation.png
  11. If validation results show ‘“number_of_errors”: 0’, this means the draft has passed validation and it’s ready to publish. Go back to the Builder screen, now the PUBLISH DRAFT button should show up, click on it to publish the draft.
    Publish.png
  12. If any errors were detected during validation, then correct those errors based on the validation results. Revalidation is needed before publishing.
  13. Other options on the Builder page include DOWNLOAD DRAFT in JSON format and DELETE DRAFT permanently.