When extension is .yml or .yaml output is in yaml format, otherwise in json. When not given output goes to stdout as yaml.
~~~
A user provides a TAB separated file (TSV) with sample specific properties which are parsed into JSON format by the tool.
For example, a user wants to add certain properties to the description of a sample, such as the treatment a sample received. Then a TSV file with an extra column called treatment is provided.
The resulting JSON file will have the 'treatment' property in it as well. The order of the columns is not relevant to the end result
The resulting file will have the 'treatment' property in it as well. The order of the columns is not relevant to the end result
The tag files works the same only the value is prefixed in the key `tags`.
#### Example
~~~ json
{
"samples":{
"Sample_ID_1":{
"treatment":"heatshock",
"libraries":{
"Lib_ID_1":{
"bam":"MyFirst.bam"
}
}
},
"Sample_ID_2":{
"treatment":"heatshock",
"libraries":{
"Lib_ID_2":{
"bam":"MySecond.bam"
}
}
}
}
}
~~~
#### Sample definition
To get the above example out of the tool one should provide 2 TSV files as follows:
...
...
@@ -83,3 +58,45 @@ Basically anything you want to pass to your pipeline is possible.