Web Documentation
All functionality in terms of creating data can be handled by the web interface. Furthermore, semi-automatic Sample and Experiment creation and proper querying may be accomplished by the API. Please refer to the API Documentation if you want to query the data or need to upload many Samples and/or Experiments.
Rights Management
There are three user categories, each of which allows you to do certain things in the Data Mining Lab Freiberg:
- UseGroup: Users can query DMLF data. Note that access to staff entries is not allowed.
- CreateGroup: Users can create Samples and Experiments both via frontend and API.
- AdminGroup: Users can create new Funding Bodies, Methods, Projects, Staff members, and Users (of the previous two categories).
Depending on whether you belong to a group, you will see buttons on the left, allowing you to query or create data. In the following, you will get to know how to create the two most important data types, Samples and Experiments.
User groups are supposed to be escalated: when a user belongs to the CreateGroup, they should also be a member of the UseGroup. If they are belonging to the AdminGroup, they should also be members of both UseGroup and CreateGroup. Note that users belonging to the AdminGroup may only be created by the DMLF administrator. If you think you should be in the AdminGroup, reach out via the contact page.
Sample Creation
If you are in the CreateGroup, you will see the button New Sample to the left. Alternatively, you find this functionality by clicking on Create above.
There are a few things to consider when creating a new sample:
Sample ID
The Sample ID needs to be of the format: yymmdd_hhmmss_iiaaaa
. All except for the underscores need to be digits (0
through 9
). This Sample ID needs to be unique and is the primary key for a Sample in the database. When you transfer a sample to a colleague / another institute, you will need to tell them the Sample ID so that samples can be tracked over several generations and experiments.
The first six digits (yymmdd
) contain a date. This can be the date of creation of the sample or its entry in the DMLF.
The next six digits (hhmmss
) are a time that belongs to the date. You can enter all zeroes, as long as the ID is still unique.
The last six digits mostly fulfil the purpose of giving a human-readable tag to a given sample. The six digits consist of:
ii
: a number signifying the research institute at which the sample was created. Find the number of an institute by browsing the Institute List.aaaa
: a number signifying the method with which a sample was created. Find the number of a method by browsing the Method List. If your sample has no parent, you may setaaaa
to zeroes.
Parent Sample ID
If a Sample was created from a parent Sample, you must choose the corresponsing Sample ID of the parent. This is necessary to ensure tracebility of samples to their origin. If you are entering a origin sample without parents, leave both Parent Sample ID and Method empty.
Project
A sample must belong to a Project. A Project does not need to be a research project with funding, but can be experimental campaigns, etc.
Sample Type and Sample Info
Additional metadata needs to be added to a Sample that defines the Sample further. Depending on when you use the DMLF, a number of different Sample Types may be available. Depending on the chosen Sample Type, the required metadata, the Sample Info changes. Because the necessary metadata may change as the DMLF matures, the Sample Info is stored as JSON on the server, but not as an entry in the database, to not need to change the database structure.
You need to upload a JSON containing relevant metadata, the Sample Info file. To know which metadata is required, you can:
- query the API or
- create a Sample Info file on the website directly by clicking the Create Sample Info button. Select the Sample Type and enter relevant metadata. A Sample Info file will be created for you to download.
After creating an appropriate JSON, select it for upload.
Supplementary File
If you want to add additional information for a Sample, you can choose a supplementary file. This file needs to be a ZIP file, which may contain any sort of data of any format.
Experiment Creation
Experiments can analyze or modify a given Sample. When modifying a Sample, most often a new Sample will be created, for example by comminution or sample splitting. All of the metadata is required, therefore make sure that
- the Sample that an Experiment is performed on, has been created previosly, and
- the method that is used exists in the database.
Data
Any and all relevant data for a given Experiment may be uploaded as a single ZIP file. Experiment data can consist of both raw measurements and analyses. Note that experimental data should be complete, accessible and re-usable.
Data Querying
The web frontend only offers very limited options to query the data in the DMLF. When you click on either Sample List or Experiment List buttons to the left, you will be shown a list of all entries available to you. You can sort by certain criteria and limit the entries to your institute(s). When you click on an entry, you will see the direct metadata of the entry and links to download corresponding files. For more in-depth querying, use the API.