GithubHelp home page GithubHelp logo

martin-kuhl / swate-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nfdi4plants/swate-templates

0.0 0.0 0.0 17.71 MB

A collection of templates for Swate (https://github.com/nfdi4plants/Swate).

F# 100.00%

swate-templates's Introduction

Swate-templates

A collection of minimal information standard templates for Swate.

The templates in this repository are crawled by Swobup and written into the production Swate database.

Anyone can access them via the template search function.


Contribution Guide

Git Workflow to add or edit templates

  1. Create issue with background information about the template you want to add. This also serves as place for discussion.
  2. Fork this repository.
  3. Create a feature branch.
  4. Clone your fork-branch and add/update ONE new template.
  5. Commit, push and sync your branch.
    • ๐Ÿ‘€ Add your issue id (for example #32) to your commit so it is automatically linked.
  6. Open a pull request referencing your issue. ๐ŸŽ‰

Template

  1. Create a new .xlsx file in the correct folder (check the subfolder README.md files).
  2. If not done already install Swate and create an Annotation Table.
  3. Add building blocks. If you are unsure of which columns to add:
    • keep the template as concise as possible
    • if you add a template with a specific endpoint repository (ER) in mind, you may want to add columns that match the required fields of this ER
    • if you add a template because the research/methodical topic is missing, try to add columns that cover experimental procedures (as Parameters) and features of the sample (as Characteristics) that the experimenter would do when working on an experiment of that type
  4. After you are done with the table, you have to add a SwateMetadataSheet: Click on the "Template Metadata" tab in Swate Experts and click "Create Metadata". A new worksheet will open.
  5. The metadata sheet contains some fields which will be described in the following. Make sure to never change any of the fields in the first column. These "key" fields must exist to create a functional template. Always only change the "value" fields (second and following columns).
    • Id: Never change this field. It maps your template to a database entry.
    • Name: This is what users will see first of your template, try using a short, descriptive and human readable name. (Think YouTube video title)
    • Version: The versioning follows the SemVer convention. For a new templates use 1.0.0, or raise the version number if you update an existing template.
    • Description: Here you can describe your template. Users interested in your template can read this in Swate, but not search by it.
    • Organisation: The name of an organisation you want to provide this template for. This facilitates searching for relevant templates in a specific organisation or community. Templates with the organisation "DataPLANT" are listed as "curated" in the Swate template database. All other templates are listed as community.
    • Table: This value must match the name of the annotation table you want to use as a template. To find the name click on any field in your annotation table, then "Table Design". Copy the name to the "Table" value field. Image on how to find table name in Excel
    • ER list: You can add any number of endpoint repositories to which your template complies here. You may want to add them as ontology terms with unique identifier and source.
    • TAGS list: You can add any number of tags here. These tags are used to search for your template. You may want to add them as ontology terms with unique identifier and source.
    • AUTHORS list: Add your name/alias here with as much information as you like.
    • Example: Image of example metadata table
  6. Close the file and give it an appropriate name (naming convention is work in progress).

Well done! ๐ŸŽ‰ You created a new template.

Recommended best practices

  • Try to think about in which order the experimenter in the lab will do their work. Try to match this chronological order from left to right. The normal order of the columns is: Source Name -> (all the Parameters and Characteristics in between in chronological order) -> Sample Name -or- Raw Data File -or- Derived Data File. This step is optional and only meant to increase readability.
  • Below the header you can add exemplary terms as in this example:
    image
    These examples help as additional information for other Data Stewards and are not transferred into the Swate template database.
  • Use ontology terms for ER list and TAGS list.
  • Add protocol type and any minimal information standards your template complies with to the TAGS list.

swate-templates's People

Contributors

brilator avatar christinerempfer avatar fabihaas avatar freymaurer avatar hannah-doerpholz avatar martin-kuhl avatar omaus avatar xiaoranzhou avatar zerskk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.